0

I'm using tornado's websocket in my project, and I would like to send a file (image) to the server using websocket and save it locally on the server. Is it possible?

Spectre87
  • 2,374
  • 1
  • 24
  • 37

1 Answers1

0

It's completely inefficient. Look at this answer.

Also, it's mostly client side solution - you need to send file by slices and write it on server by slices. You can do it, if you will think about slices as messages.

Community
  • 1
  • 1
Nikolay Fominyh
  • 8,946
  • 8
  • 66
  • 102