socket.io-file icon indicating copy to clipboard operation
socket.io-file copied to clipboard

Upload files between to server

Open karProgrammer opened this issue 5 years ago • 3 comments

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.

karProgrammer avatar Oct 29 '18 17:10 karProgrammer

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 [email protected] 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 .

rico345100 avatar Oct 30 '18 03:10 rico345100

Thank you

karmac2015 avatar Oct 30 '18 05:10 karmac2015

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

paulvales avatar Nov 12 '19 09:11 paulvales