I want to upload a (single) file to a server and show the progress of the upload.
I know I can upload a file using HTTP POST. I\'m not familiar with web-sockets, but
I personally like blueimp jQuery File Upload Plugin (https://blueimp.github.io/jQuery-File-Upload/)
File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.
Demos:
Download (GitHub): https://github.com/blueimp/jQuery-File-Upload