Learn how to make the most out of the Dropbox Community here 💙!
Forum Discussion
richardantao
5 years agoExplorer | Level 4
Streaming an mp3 file fetched from a node server for a React app.
Hello, I am trying to send an array of mp3 files from a Node server to a React app for user's to stream the audio files. I tried using the filesListFolder method from the SDK, but there is no att...
- 5 years ago
The filesListFolder/filesListFolderContinue methods only return metadata about the files/folders, but don't themselves offer any way to access the actual file data.
If you need to access the file data, you can use the filesDownload method to retrieve the file data directly, or the filesGetTemporaryLink method to get a link to the file. It sounds like filesGetTemporaryLink may be what you're looking for in this case, but keep in mind those links expire after four hours.
Greg-DB
Dropbox Staff
5 years agoThe filesListFolder/filesListFolderContinue methods only return metadata about the files/folders, but don't themselves offer any way to access the actual file data.
If you need to access the file data, you can use the filesDownload method to retrieve the file data directly, or the filesGetTemporaryLink method to get a link to the file. It sounds like filesGetTemporaryLink may be what you're looking for in this case, but keep in mind those links expire after four hours.
- richardantao5 years agoExplorer | Level 4
filesGetTemporaryLink is the one! I need a long list of mp3 files so I will call this method recursively, assuming there is no other method to fetch an array of temporary links.
About Discuss Dropbox Developer & API
Make connections with other developers810 PostsLatest Activity: 4 days ago
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!