Uploading to a web from windows.forms application

G

Guest

Hi

I need to upload files programatically from a windows.forms application to a
web server hosting my domain. the web server dosen't have asp installed this
has to be done purely from the client end without any assistance from any
programs on the server end

so my app should be able to:
1. open a connection to the site
2. transfer a file fromt he client to a certain directory on the site
3. cloes the connection to complete with no fuss.

thanks,
--Zacho
 
G

Guest

i think this shoud do what i want, i can at least download, i tested it and
it works wonderfully.

about uploading, I have 2 more questions.
the "uploadfile" function has a "method" argument, how many/which types of
methods are there?

I used the "POST" method in my test. When uploading I got a response "method
not allowed" how do i tell my domain that a certain folder in the web should
allow uploading with the post method? Or am i required to pass a username and
password arguments somewhere/ somehow?

I would prefer that the uploading is password protected.

My domain is hosted on an apache server, if that makes a difference.

alrite, i rated your post!
thanks.

will someone pleas answer my other two questions regarding the usage of the
"uploadfile" function?

regards...Zacho
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top