dropbox-fs icon indicating copy to clipboard operation
dropbox-fs copied to clipboard

Stream APIs

Open piranna opened this issue 8 years ago • 8 comments

Add Node.js createReadStream() and createWriteStream() functions, using internally stream APIs to fetch and write files content to Dropbox servers.

piranna avatar May 22 '17 10:05 piranna

Hi @piranna, can you please explain more about this?

sallar avatar May 23 '17 12:05 sallar

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 avatar May 23 '17 13:05 piranna

@piranna ah, I need to first check if Dropbox module supports that or not.

sallar avatar May 23 '17 13:05 sallar

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.

piranna avatar May 23 '17 13:05 piranna

@sallar please implement the createReadStream() and createWriteStream() functions.

AllianceSky-PS avatar Jan 12 '18 17:01 AllianceSky-PS

@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.

sallar avatar Jan 31 '18 17:01 sallar

Added ability to use createWriteStream, createReadStream in https://github.com/sallar/dropbox-fs/pull/12

coderaiser avatar Mar 22 '18 10:03 coderaiser

[email protected] is out with streams! thanks all.

sallar avatar Mar 25 '18 17:03 sallar