R
Roberson Ribeiro
Hi all
i´d like to make an upload, but i´m not sure how to handle security
settings, on server side i have web.config, IIS and a web application to
receive and save the file, on the other hand on client side i have a simple
windows forms that performe the upload process but i don´t konw which
security settings shold i use and how to.
It´s necessary authenticate client with NetworkCredential?
client code:
System.Net.WebClient wc = new System.Net.WebClient();
wc.Headers.Add("enctype","multipart/form-data");
wc.UploadFile("http://myhost/mywebapp/myfile.aspx", "POST", "myfile.txt");
Thanks
Roberson Ribeiro
i´d like to make an upload, but i´m not sure how to handle security
settings, on server side i have web.config, IIS and a web application to
receive and save the file, on the other hand on client side i have a simple
windows forms that performe the upload process but i don´t konw which
security settings shold i use and how to.
It´s necessary authenticate client with NetworkCredential?
client code:
System.Net.WebClient wc = new System.Net.WebClient();
wc.Headers.Add("enctype","multipart/form-data");
wc.UploadFile("http://myhost/mywebapp/myfile.aspx", "POST", "myfile.txt");
Thanks
Roberson Ribeiro