Using HttpURLConnection for file uploading to ASP.NET server

Hello,

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.

[524 byte] By [eowla] at [2007-11-26 23:55:51]
# 1
I just need working example or not exactly working :), just some clue. Did anybody used Apache Commons HttpClient? I'd like to see some examples.
eowla at 2007-7-11 15:40:21 > top of Java-index,Core,Core APIs...
# 2
That is wierd, looks like this forum is dead....
eowla at 2007-7-11 15:40:21 > top of Java-index,Core,Core APIs...
# 3
So... anybody?
eowla at 2007-7-11 15:40:21 > top of Java-index,Core,Core APIs...
# 4
http://forum.java.sun.com/thread.jspa?threadID=5169751&tstart=0check this out, i did the same thing.
mrahul_3000a at 2007-7-11 15:40:21 > top of Java-index,Core,Core APIs...