-
-
Notifications
You must be signed in to change notification settings - Fork 596
Transferring large files #710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The Socket.IO protocol does not have anything specific to send files, but you can load the file contents and send them as a regular event, or if you want to do something fancy, you can also piece the data into smaller chunks and send the pieces, which may allow you to display a progress update. |
oh okay
I was actually trying this, but for large files the socket gets disconnected when trying to |
As I said, there is nothing specific to sending large files, the protocol is really better suited to small payloads and low latency, not to do file transfers. In terms of performance you there is really no advantage versus doing a standard HTTP upload. If you want to transfer a file in chunks you have to implement the chunk splitting and joining yourself. |
okay, thank you for the information. I am closing the issue |
Hi, I couldn't find anything related to sending files across
python-socket-io
. Is there some method to share large binary files across the client and server?The text was updated successfully, but these errors were encountered: