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
Asharaf
2 years agoExplorer | Level 4
Shared link
Hi Support Team,
I'm developing a module to download publicly shared files or folders and tried it with multiple APIs but have not succussed.
I've created an App in the console and have Appkey and Secret Key, Is there any way to download files of public URLs without access token in c#?
Best Regards
Hi Asharaf,
To create shared link(s) to either file(s) or folder(s) you can use corresponding methods. For an idea in Python, you can take a look here. Every received link, in such a way, points to preview page (not the actual file or folder)! To download pointed content, you need to 'transform' preview link to download link. Just replace the ending parameter (dl) value from 0 to 1 (i.e. replace ending "?dl=0" to "?dl=1") and you can download using whatever method convenient for you. One more thing you should take in mind is that your web client should support redirection (codes 3XX - that Dropbox uses - not only 2XX)!
Good luck.
- ЗдравкоLegendary | Level 20
Hi Asharaf,
To create shared link(s) to either file(s) or folder(s) you can use corresponding methods. For an idea in Python, you can take a look here. Every received link, in such a way, points to preview page (not the actual file or folder)! To download pointed content, you need to 'transform' preview link to download link. Just replace the ending parameter (dl) value from 0 to 1 (i.e. replace ending "?dl=0" to "?dl=1") and you can download using whatever method convenient for you. One more thing you should take in mind is that your web client should support redirection (codes 3XX - that Dropbox uses - not only 2XX)!
Good luck.
- Greg-DBDropbox Staff
Asharaf As Здравко mentioned, you can download directly from Dropbox shared links by modifying the shared links for direct access. You can find the documentation for doing so in the help center here.
- AsharafExplorer | Level 4
Hi Support,
I changed parameter dl=0" to "?dl=1" and downloaded the file using RestClient in c#.
What is the maximum file size I can download?
Best Regards
Asharaf
- Greg-DBDropbox Staff
Asharaf There isn't an individual file size download limit, but there is an overall per-account per-day limit on the amount of bandwidth that can be used for shared links. You can find information on those limits here.
Download connections that take a long time may also eventually time out, but we don't have specific numbers documented for that. If a connection is closed before the download is completed though, you can use range requests to download the rest of the data.
Also, there are limits on the size of files that can be uploaded using different methods to begin with. You can find information on those here.
About Discuss Dropbox Developer & API
Make connections with other developers797 PostsLatest Activity: 6 days ago
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!