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

astanley86's avatar
astanley86
New member | Level 2
9 years ago

Get the URL path from a link bookmark .url file

Hello,   In my dropbox folder I have a bookmark to a website URL.  For example: http://www.google.com - this will be saved as 'Google.url' in my dropbox folder.   Which API will return 'http://ww...
  • Greg-DB's avatar
    9 years ago

    For .url files, the URL information is saved in the file content. You can use /2/files/download to download the file content, and then parse and use it as desired. 

     

    Using your example, if the file is saved as "Google.url" in your Dropbox root folder, you would supply the path "/Google.url" to download the file using the endpoint linked above (or the corresponding method if you're using an SDK or library) and then parse the URL from the returned file content in the response body.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days 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!