Upload a file from desktop app.

Is it possible, and if so what's the best way of uploading a file from a browser app, to a php server?

Comments

  • For this, the best method I know of is to use FormData with an XHR. You would need to have the user select a file using a file input and then hook the FormData object into an XHR object; as long as the browser supports file uploads over XHR this method should work.
Sign In or Register to comment.