4 ms·
Although it involves a redirect, so it's not, per se, direct, appending ?dl=1 to a Dropbox link does at least trigger a file download.
by ovao 10y ago
Although it involves a redirect, so it's not, per se, direct, appending ?dl=1 to a Dropbox link does at least trigger a file download.
- the_af 10y agoThis is not useful for hotlinking pictures, for example for embedding them in a forum.
- ovao 10y agoI believe that's an intentional limitation.
- the_af 10y agoI know it's intentional. I'm just saying it results in something that is definitely not direct and noticeably less useful. That it can be made to trigger a download is not particularly useful.
- ovao 10y agoI agree that it's not direct and less useful. The commenter I originally responded to, however, appeared to be concerned with the ability to link to files in a way that doesn't bring up the Dropbox UI, which the query parameter does at least accomplish to some degree.
- deleted 10y ago[deleted]
- mos_basik 10y agolast I tried, which was a couple months ago, replacing the "www" with a "dl" in a public link made it work for hotlinking. so, starting with https://www.dropbox.com/s/2s31p57eod49dva/1371724997329.png?dl=0 https://www.dropbox.com/s/2s31p57eod49dva/1371724997329.png?... and navigating to this https://dl.dropbox.com/s/2s31p57eod49dva/1371724997329.png?dl=0 https://dl.dropbox.com/s/2s31p57eod49dva/1371724997329.png?d... results in a redirect to this https://dl.dropboxusercontent.com/s/2s31p57eod49dva/1371724997329.png?dl=0 https://dl.dropboxusercontent.com/s/2s31p57eod49dva/13717249... which can be hotlinked. What this means in a specific sense, I haven't yet learned. I'm particularly interested to know the behavior of any of these links if the file is moved/renamed. I have not tested it, but my intuition is the dropbox.com link would survive a move and the dropboxusercontent.com link would not.