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

Bob A.3's avatar
Bob A.3
New member | Level 2
9 years ago

Saving URL to act as a URL Redirect?

I would like to be able to make a share link to a Dropbox file that itself contains a URL such that when the user executes the first link in their browser the end result is that the URL stored in the...
  • Richard P.'s avatar
    9 years ago

    Yes, just fire off a GET request (via ajax or fetch, or your favourite http lib) to the exact public url for the file.

    Ensure the file is structured as JSON, and you should be able to either directly read the response as JSON, or you may have to JSON.parse() it, and theres your data. 

    Then do your favourite JS redirect.

    The only issue is that the .html file which triggers all that cannot be stored on Dropbox as a public or shared link, it has to be stored elsewhere.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

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!