Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

dredknight's avatar
dredknight
Explorer | Level 4
9 years ago
Solved

Access public shared files without authentication

Dear community,

 

I was wondering if it is possible to use a the ruby dropbox API to access and download publically shared files without authentication?

You can do that from the web as long as you have the URL but I could not find any way to make this possible inside my app.

Any help on how I can make this work will be appreciated :)!

5 Replies

  • dredknight's avatar
    dredknight
    Explorer | Level 4
    9 years ago

    Oh.. this DL=1 is just what I needed! Thank you so much :)!

    P.S.


    Unfortunately when I put it as a download link in ruby it still does not work even though it works through brower. :/

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    How does it fail exactly? Can you share your code?

    One thing to be aware of is that the dl=1 link will return a redirect first, so make sure your HTTP client will follow redirects.
  • dredknight's avatar
    dredknight
    Explorer | Level 4
    9 years ago

    Hello Greg,

     


    Your answer is correct, it is me who is faulty.

    It seems the dl=1 solution is not a direct link but when requested it sends a response with the direct link.

    I had to work this over with ruby so I can tell ruby to get the request and THEN use it as download source.


    Thank you for the help and dedication!

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!