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 .:(
Loading

Manoj BhoirPosted Apr 14, 2015, 10:08 AM
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