Do any one knows how to implement file sending via http from client to client. This is similar example but can not find how to implement it: http://jetbytes.com/
Any ideas?
Do any one knows how to implement file sending via http from client to
Share
Guess you could just copy their behaviour, which is roughly the following.
Let’s name the three parts of the exchange : Sender (in a browser), Server (well… server code), Receiver (in a browser).
Of course there must be room for improvement :
For the implementation, much of the work will be on the client side, and everything described here is achievable using jQuery. On the server, the two goals are transferring data and answering to the Sender. You will have to define yourself a lightweight protocol to say “I am [not] ready”, “I got N bytes so far”, “I am done”.