Downloads with an External File
Use when files stored on web, cloud, or some other server.
jDownloads supports downloadable files stored on the web on regular web locations and on services such as DropBox, g-drive and similar. Getting the link for an External File to include in a jD Download is not always obvious especilly on service providers! Sometimes there may be unexpected side effects. The picture opposite shows the 'Files' tab of the front end upload form. It gives an overview of how to add a file to a Download. The primary objective here is to determine the contents of the two fields "External File Link" and "File in external Web site".
In most cases the "File in external Web site" field should be set to Yes. |
![]() |
In this article we show what to do if the required file is |
|
1. File located on a web site Server This is the simplest case as all that is necessary is to find the location of the file on the web site. The 'Files' section would appear as shown opposite. |
|
An example would be https://www.some-website/uploads/Website-Brochure-2018.pdf The only item to consider is the setting of the field "File in External Web site" as this controls whether it is downloaded to a separate page or to the same page
|
![]() |
The other aspect to bear in mind is that the file must have file system 'world readable' permission, that is the permission should end in 4 or higher. This must also apply to the directories that contain the file. You may of course need to seek permission from the site owner unless it is already in the public domain, in which case it would be polite to let the the owner know. | |
2. File in DropBox ![]() |
|
Here is is assumed you have setup a drop box account and have loaded up relevant files. Getting the file link from DropBox has more steps to go through than for a direct link. The first step to get the link is to simply right click on the relevant file name |
![]() |
This will show a Drop Down with a Drop Box secton as indicated opposite. So next click on Share as we need to see if file is shareable. |
![]() |
The Share type needed is " Can view". If this is shown then click on Copy link which will copy a link to your Clip Board If it is not shared then seek advice from Drop box. |
![]() |
The link in the clip board will be something like the opposite. Note that for secutity the one shown is not a real link |
https://www.dropbox.com/s/boqqqqqqqjyh/IMP60%20details.pdf?dl=0 |
There are four forms that the link might be set to be used as an external link. One style, noted below as 'Special', involves replacing the part www.dropbox in the link with dl.dropboxusercontent The table below shows the various setting possibilities. Note that the last three possibilities result in a non standard extension name. Also the 'Special' link used a different file in my examples. |
|
![]() |
|
3. Google Drive ![]() |
|
Setting up an External link for a g-drive file is similar to that for Dropbox Go to your g-drive which is typically a link such as |
![]() |
As with Dropbox the File must be set as shareable. If it is not shareable then consult Google Drive Click on 'Copy link' which will put the link in your Clip Board. |
![]() |
This time the link can be copied in directly as there are no changes required. Set the field "Is the main file on an external web page?" to Yes. |
![]() |
Colin Mercer July 2018