You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Arian H.
10 years agoNew member | Level 1
public links to raw files?
Im a developer and I like using Dropbox as a small CDN to throw up files on for testing (like putting a whole JS Lib onto JSFiddle for testing).
However recently I cant seem to figure out how to get a link to the raw file easily.
I thought before I would right click on the file and choose 'Dropbox->Get Public Link' but in recent versions there just seems to be a Share button (same on the website interface as well).
I want to be able to get public links like how I used to so I can use Dropbox as a mini CDN/FTP.
How can i do this via Windows 7 interface/Dropbox app or Dropbox website?
Here is an example: http://jsfiddle.net/g425cma2/
Right now the share links Im getting back from Dropbox look like: https://www.dropbox.com/s/4shinfx72yzqsws/jquery.maskedinput-merged.js?dl=0
but before I swear it looked closer like https://dl.dropboxcontent.com/u/$username/home/public/theFilepath/theFile.js
Did Dropbox change how to 'share' files?
Thanks!,
Ari
https://dl.dropbox.com/s/4shinfx72yzqsws/jquery.maskedinput-merged.js?dl=0
A share link with "www" at the beginning will open in the preview page.
A share link with "dl" at the beginning will tell your browser to handle the file as it sees fit (display in the browser, open in a configured application, or present it for download).
A share link with "dl" at the beginning and "?dl=1" at the end will force your browser to download the file.
Examples using an animated GIF file:
https://www.dropbox.com/s/0skuwdlhg6q4fol/History%20of%20GIF.gif
https://dl.dropbox.com/s/0skuwdlhg6q4fol/History%20of%20GIF.gif
https://dl.dropbox.com/s/0skuwdlhg6q4fol/History%20of%20GIF.gif?dl=1
[This thread is now closed by moderators due to inactivity. If you're experiencing a similar behavior, feel free to start a new discussion in the Dropbox Community here.]
- RichSuper User II
https://dl.dropbox.com/s/4shinfx72yzqsws/jquery.maskedinput-merged.js?dl=0
A share link with "www" at the beginning will open in the preview page.
A share link with "dl" at the beginning will tell your browser to handle the file as it sees fit (display in the browser, open in a configured application, or present it for download).
A share link with "dl" at the beginning and "?dl=1" at the end will force your browser to download the file.
Examples using an animated GIF file:
https://www.dropbox.com/s/0skuwdlhg6q4fol/History%20of%20GIF.gif
https://dl.dropbox.com/s/0skuwdlhg6q4fol/History%20of%20GIF.gif
https://dl.dropbox.com/s/0skuwdlhg6q4fol/History%20of%20GIF.gif?dl=1
[This thread is now closed by moderators due to inactivity. If you're experiencing a similar behavior, feel free to start a new discussion in the Dropbox Community here.]
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!