Another solution: use the SAF extension (credits @vknow360), copy the picked file to a folder in your ASD, then get the filepath for that and POST it to your server.
(You can set the filetypes and initial directory to your liking)
You could also delete the file from your ASD folder, after uploading, if no longer needed.

