We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

Deac P.'s avatar
Deac P.
New member | Level 1
9 years ago

Dropbox file path for direct acces

Hi everyone,

I'm trying to develop a web application which would allow me to play audio files from my dropbox account. I'm using the Dropbox API to navigate through the files and folders in my account and get only the audio files i want. Is it possible to get the full path to a file from my account that would be accesible by everyone who has a valid acces token ?

From what i could find out until now the Metadata's of the files retrieved by the ListFolderAsync method is not retriving any absolute urls to a specific file.

All i could find is that i can download a file in memory using the DownloadAsync method, but i think there must be a way of directly accesing a file, using the acces token offcourse, so that i don't have to download the file in memory and save it as mp3.

What i basically want is to be able to construct an absolute url to a file that i could pass to a html5 audio player src.

Does anyone have any idea ?

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 hours ago
325 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!