dropbox-fs
dropbox-fs copied to clipboard
Stream APIs
Add Node.js createReadStream() and createWriteStream() functions, using internally stream APIs to fetch and write files content to Dropbox servers.
Hi @piranna, can you please explain more about this?
The Node.js fs module createReadStream() and createWriteStreams() functions are missing from this module API, so I ask to include them and if possible, implement them in a stream fashion to don't need to fully download the files first.
@piranna ah, I need to first check if Dropbox module supports that or not.
filesGetTemporaryLink can be used to get an URL link that can be fetch using the range header in a pull stream-like fashion, and the UploadSession to upload it in several fragments.
@sallar please implement the createReadStream() and createWriteStream() functions.
@piranna @AllianceSky-PS sorry I have been a bit busy. I'll look into this. But in the meantime if anyone wants to take this and implement it, I'd appreciate that.
Added ability to use createWriteStream, createReadStream in https://github.com/sallar/dropbox-fs/pull/12
[email protected] is out with streams! thanks all.