rico345100 / socket.io-file

Socket.io-file is a node module for uploading file via Socket.io module
MIT License
47 stars 19 forks source link

Upload files between to server #19

Open karProgrammer opened 5 years ago

karProgrammer commented 5 years ago

Hello, how can I use your library to upload file between to node.js server, so the scenario is to read from filesystem (by using path or stream or anything else ...) then your uploader will upload it to the another node.js server. Now I use socket.io-stream to send files between servers but your library has a lot of features that it is useful like (chunk size, progress event) and I want to use it in my app.

rico345100 commented 5 years ago

Hello!

Unfortunately, Socket.io-file doesn't support file sending between servers, because it focused on data transmission from Web Client to Socket.io-server.

Inside, Socket.io-file-client uses browser specific APIs, which will not work in Node.js environment.

However, recently I heard similar issue like you, someone want to intercept or redirect data stream flow to memory, not the disk, so this feature could be very considerable thing.

I'll let you know when I decide to put this in, if do, this could be feature in Socket.io-client, will also support Node.js server.

Feel free to give any suggestion!

Best regards, .modernator

On Tue, Oct 30, 2018 at 2:39 AM kar notifications@github.com wrote:

Hello, how can I use your library to upload file between to node.js server, so the scenario is to read from filesystem (by using path or stream or anything else ...) then your uploader will upload it to the another node.js server. Now I use socket.io-stream to send files between servers but your library has a lot of features that it is useful like (chunk size, progress event) and I want to use it in my app.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rico345100/socket.io-file/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ3iWqnUkEMN63eJnhGhF9HgdQ4L9w6Fks5upz1MgaJpZM4X_tF4 .

karmac2015 commented 5 years ago

Thank you

paulvales commented 4 years ago

this is feature may solved task with sending file to google drive and other cloud files storage , am I right?