Using HttpURLConnection for file uploading to ASP.NET server
843790Apr 3 2007 — edited May 14 2007Hello,
I need to post (upload? what is correct term here?) file from Java applet using http protocol, POST method to ASP.NET server.
I herd that i need to use HttpURLConnection in order to do that.
But how exactly?
What address should I connect to?
Should i connect to my *.aspx page?
*** How to send file using this class? ***
Can i get my file, after all that, on ASP.NET server from Request.Files collection, same like i did before using html forms?
Thanks a lot.