2
Hello, I am developing a system in which one of the fundamental parts is to transmit a file via Node JS.
Suppose I have one connection to, this connection is uploading a file via HTTP.
And there’s also a connection B, this connection wants to download the file that connection to is sending, also via HTTP.
All the solutions I found consist of waiting for connection to complete your upload completely, so that after the connection B can download the file. This is not much help, because in large files this transfer would last a long time.
Is there any way to stream that file, so that the connection B download the file as it is uploaded by connection to? If so, I’d like to know how.