cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Direct download using ?dl=1 returns html page

Direct download using ?dl=1 returns html page

Arne517
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 23

Greg-DB
Dropbox Staff
Thanks for the report! We'll check on this and follow up here.

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

SeppeR
Explorer | Level 4

Hi Greg,

 

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

 

Thanks in advance.

 

 

 

Greg-DB
Dropbox Staff
I don't have an update on this yet. I'll follow up here once I do.

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

Greg-DB
Dropbox Staff
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.

SeppeR
Explorer | Level 4
Thanks! Works again!

JonnyO
Explorer | Level 3

Work on some links but not all

Greg-DB
Dropbox Staff

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    jose2020 Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
  • User avatar
    Wikt0r New member | Level 2
What do Dropbox user levels mean?