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

Arne517's avatar
Arne517
New member | Level 2
7 years ago

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

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Thanks for the report! We'll check on this and follow up here.
    • bhanbuch's avatar
      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's avatar
      SeppeR
      Explorer | Level 4

      Hi Greg,

       

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

       

      Thanks in advance.

       

       

       

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        I don't have an update on this yet. I'll follow up here once I do.
  • JustMe2012's avatar
    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's avatar
      Greg-DB
      Icon for Dropbox Staff rankDropbox 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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,914 PostsLatest Activity: 6 hours ago
333 Following

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!