Forum Discussion

JudStephenson's avatar
JudStephenson
New member | Level 2
8 years ago

Direct Download raw=1 Doesn't Work

We've recently become unable to directly download dropbox files via CLI (via curl). We used to append `raw=1` to the share link, and everything would work.

 

Now, appending raw=1 to the share link downloads a JS App that creates and submits a form in-browser, and thus, no longer works with simple CLI tools.

10 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    Thanks for the report! We'll check on this and follow up here.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    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.
  • rac2's avatar
    rac2
    New member | Level 2
    8 years ago

    I have this problem right now as well -- it doesn't download with raw=1 anymore using the R software. 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    rac2 Can you elabortate on what exactly isn't working as expected? E.g., the following would be helpful:

     

    - the steps to reproduce the problem
    - the full text of any unexpected error or output
    - the relevant code snippet(s)

     

    Thanks in advance! 

  • hahmed44's avatar
    hahmed44
    Explorer | Level 3
    8 years ago

    hi. raw=1 is not working anymore for me to download my music onto my tumblr page using a mini online music player and copying the htlm code and then pasting.  the music used to work in the past with no problems at all using the raw=1 but now it stopped working.  can you please help me?  the music is a major part of my tumblr page and without it, i just dont see the reason for me to pay the $9.99 a month to keep dropbox.

    thank you in advance,

    hana renee

    my email addresses if needed:

    [email addressed removed by moderation for security reasons]

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    hahmed44 Can you elaborate on how exactly it isn't working? What error are you getting?

  • hahmed44's avatar
    hahmed44
    Explorer | Level 3
    8 years ago
    Hi. No error message would come up. My music would just simply fail to play anymore but I believe it may be fixed. I posted my question on the community site posting a new question because I noticed this thread was old and I didn’t think anyone would answer back. Thank you so much for your reply. Rich replied to me with what I believe to be the answer to part of my problems. Plus I went back to tumblr and redid all of my music and they started working again. I don’t know why I had to redo them with the same html codes to make them work?!?

    Thank you for your help. I truly appreciate it.

    Hana
  • florianCH's avatar
    florianCH
    New member | Level 2
    7 years ago

    Hi Dropbox Team!
    I also tried to embed videos (.mp4) hosted in my dropbox, using the share link with raw=1. However this does not work anymore. I cannot use the link to directly view the video in the browser (the HTML5 Player starts but the video is not loaded).

    Using dl=1, it gets downloaded correctly, and using dl=0, i get on the dropbox page with the embedded player which also plays the video correctly. What had happened?

    Thanks, Florian

    UPDATE: I tried with a small sample video and it worked, and with my 3min file it still did not work. Could it be that the limitation occurs when trying to stream it partially when it's too large?

    However my video does not have a preview in explorer, and the sample video has it, so maybe that was simply a conversion fault and the file is corrupted.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    florianCH Can you check the network request, e.g., using the developer tools in your browser, to see what error/response you're getting for the larger file?

  • florianCH's avatar
    florianCH
    New member | Level 2
    7 years ago

    Hello Greg, thank you for your response!
    Meanwhile I have found out that this video was the only one where this happened, and it originated from an online converter tool. So I'm just going to assume that the video itself was faulty, because it worked for all other videos i've tried.

About Dropbox API Support & Feedback

Node avatar for 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!