Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Arne517
8 years agoNew member | Level 2
Direct download using ?dl=1 returns html page
Hi,
I'm downloading a folder from dropbox using `curl` with the public share url, and the `dl=1` query parameter.
This used to work perfectly until this morning, when it started returning a html page instead. Is this change intentional, and if so, what would be the recommended way to directly download files then?
Thanks in advance
23 Replies
Replies have been turned off for this discussion
- Greg-DB8 years ago
Dropbox Community Moderator
Thanks for the report! We'll check on this and follow up here. - bhanbuch8 years agoNew member | Level 2
to add to this: the html file that is download (even with follow redirects ON with curl) will download the file if loaded into a browser...
- SeppeR8 years agoExplorer | Level 4
Hi Greg,
Any updates on this issue? We really need this functionality.
Thanks in advance.
- Greg-DB8 years ago
Dropbox Community Moderator
I don't have an update on this yet. I'll follow up here once I do. - JustMe20128 years agoNew member | Level 2
Also having this issue using Python urllib.urlretrieve to download the ZIP of a shared DropBox folder with ?dl=1 appended to the end of a shared url link. This has worked for years and started failing the end of last week. Zip file downloaded contains HTML page rather than ZIP files.
- Greg-DB8 years ago
Dropbox Community Moderator
We've had our engineers working on this and the good news is the problem has been fixed. Please try again and you should find that this functionality works correctly.
Apologies for any inconvenience this caused. - SeppeR8 years agoExplorer | Level 4Thanks! Works again!
- JonnyO8 years agoExplorer | Level 3
Work on some links but not all
- Greg-DB8 years ago
Dropbox Community Moderator
JonnyO Can you share the details for what's currently not working for you? Thanks in advance!
- JonnyO8 years agoExplorer | Level 3
Sorry! Was forced to work around the problem that was happening to one specific file called "gdpr-logic.js". Tried recreating the link about 10 times without success.
My workaround after two hours of trying different things became:
1. Create a file (test.txt) and test dl=1 on that. Success on third attempt!
2. Copy the content of the failing js-file to test.txt. New link. Still worked.3. Rename to test.js. Still worked.
4. Delete the failing gdpr-logic.js
5. Rename test.js to gdpr-logic.js. Still works!
Sorry! Hope my explanation can help you.
/Jonny
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!