Hello Experts,
I have made a windows form application and console exe also in this i am upload files using ftp web request
but now i want to it from http web request or htttps how it is possible in c#
any suggestion?
bcz ftp is not secured .:(
How can upload files using http web request in windows c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Manoj BhoirRank #599 · 4K pointsPosted Apr 14, 2015, 6:08 AM EDT
You need to use the class
System.Net.HttpWebRequestwith the HTTP request method "POST".Please see:
http://stackoverflow.com/questions/566462/upload-files-with-httpwebrequest-multipart-form-data
https://msdn.microsoft.com/en-us/library/system.net.webclient.uploadfile%28VS.80%29.aspx
https://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx
https://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx