cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get complete path or URL of a File?

How to get complete path or URL of a File?

mirage_alaas
Explorer | Level 4

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 3

Greg-DB
Dropbox Staff

[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. 

gorkemhacioglu
Explorer | Level 4

I also need to get my uploaded file's URL. Is there any update about this feature request?

Greg-DB
Dropbox Staff

@gorkemhacioglu No, unfortunately I don't have news on this request.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    gorkemhacioglu Explorer | Level 4
What do Dropbox user levels mean?