I need to upload a local file to a remote server from a chrome extension. The extension extends chrome file browser and I'd like to invoke the upload when a user 'opens' a file with my extension. I was hoping to use sockets APIs but just realised (hard way) that the APIs are available in apps only.
Could someone recommend a best practice/approach?
Thanks.