We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
mirage_alaas
7 years agoExplorer | Level 4
How to get complete path or URL of a File?
Hi,
I am uploading bulk files using Dropbox .NET API.
I want that after uploading the file how to get a complete path or URL like - "https://www.dropbox.com/work/Apps/*****/testinng234/1.mp3". So that I can able to use this link directly.
Please suggest me the best way and share some code.
3 Replies
- Greg-DB7 years ago
Dropbox Community Moderator
[Cross-linking for reference: https://stackoverflow.com/questions/54762214/how-to-get-complete-path-or-url-of-a-file-in-dropbox ]
When you upload a file using the Dropbox .NET SDK, e.g., via the UploadAsync method, you'll get a FileMetadata object back for the uploaded file.
You can get the PathDisplay or PathLower property from that object to see the path of the uploaded file. That will be relative to your app's root though, e.g., to the app folder for your app, if your app uses the app folder permission.
The Dropbox API doesn't offer a way to get the full Dropbox web site URL/path for a file programmatically, but I'll pass this along as a feature request.
- gorkemhacioglu4 years agoExplorer | Level 4
I also need to get my uploaded file's URL. Is there any update about this feature request?
- Greg-DB4 years ago
Dropbox Community Moderator
gorkemhacioglu No, unfortunately I don't have news on this request.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,034 PostsLatest Activity: 29 minutes ago
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 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!