Learn how to make the most out of the Dropbox Community here 💙!

Forum Discussion

richardantao's avatar
richardantao
Explorer | Level 4
5 years ago
Solved

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...
  • Greg-DB's avatar
    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.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers810 PostsLatest Activity: 5 days ago
232 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!