I have been assigned the task of having our website launch a custom file chooser when the user is uploading and downloading files from our internal website. I have these programs already, but what I need to do is create an extension that will mediate between links on my website and the file chooser program.
So when the user clicks on a button to upload, my extension will intercept this request and call the file chooser. Then pass back the file and some extra information to my webpage for the actual upload.
And when the user clicks on a link(file) to download from my webpage, the extension will intercept this request and pass the file with some extra information to my file chooser so the file chooser can handle the saving to the hard drive.
I really have no idea how to write this extension and am hoping that I can get some help on this forum. If you know of any example extensions for me to look at or any other help you can give me, that would be awesome. Thanks.