Announcements
Do you have an idea for Dropbox Paper? Share it with us!

Direct download using ?dl=1 returns html page

New member | Level 2

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

Re: Direct download using ?dl=1 returns html page

Dropboxer
Thanks for the report! We'll check on this and follow up here.
Reply
Loading...

Re: Direct download using ?dl=1 returns html page

New 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...

Reply
Loading...

Re: Direct download using ?dl=1 returns html page

Explorer | Level 4

Hi Greg,

 

Any updates on this issue? We really need this functionality.

 

Thanks in advance.

 

 

 

Reply
Loading...

Re: Direct download using ?dl=1 returns html page

Dropboxer
I don't have an update on this yet. I'll follow up here once I do.
Reply
Loading...

Re: Direct download using ?dl=1 returns html page

New 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.

Reply
Loading...

Re: Direct download using ?dl=1 returns html page

Dropboxer
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.
Reply
Loading...

Re: Direct download using ?dl=1 returns html page

Explorer | Level 4
Thanks! Works again!
Reply
Loading...

Re: Direct download using ?dl=1 returns html page

Explorer | Level 3

Work on some links but not all

Reply
Loading...

Re: Direct download using ?dl=1 returns html page

Dropboxer

@JonnyO Can you share the details for what's currently not working for you? Thanks in advance! 

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post