I am using reacjs with meteor. I have few questions about file transferring.
My goal is to transfer big files (2.5G up) from server to client (client can download by a button.
If using a GET from client , will it be a socket transfer performance ? or based on web-socket?
(And use GET or open a new socket for client or use websocket has the best performance for large files?)
I used collectionFS to new a file
But I don’t know how to download it on the ReactJS side.
3… I tried to use fs.createReadStream() to read the file on server side, but don’t know how to pipe to reactjs client side.