Thanks for the reply.   I did find those links myself.   I'm not sure what is required in upload.aspx file, there's no sample/example of what is sent to that page and thus how to handle it.   I have been trying to wrap my head around this all afternoon, hence why I posted to the community for help. 

I've not posted to c9 for a while, I apologise if I posted in the wrong section.   It would appear that c9 has changed..... Sad