Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Jon B.1's avatar
Jon B.1
Collaborator | Level 9
4 years ago
Solved

SwiftyDropbox download to stream?

Hi -- I'm experimenting with developing a macOS SwiftyDropbox app which downloads and uploads encrypted files, decrypting them on the fly on the user's local machine.   I know there's a version o...
  • Greg-DB's avatar
    4 years ago

    The SwiftyDropbox SDK only provides the two download styles you mentioned: file and memory. You can find a basic example of each in the readme here.

     

    The memory option returns the file data as a Data object (in 'response.1' in the example linked above). The SDK unfortunately doesn't offer an option for returning the data as a Stream instead, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers

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, Facebook or Instagram.

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!