How can I upload files to server with ftp though code? my web host apperently dont allow ous to use the "regular" fileupload with in MVC or Web forms anymore on IIS7
I rather not use a third part app I use asp.net mvc 2, c#
There are various methods but the simplist in my opinion is to make use of the FtpWebRequest class. There is a nice example of a simple file upload, making use of it, here:
http://msdn.microsoft.com/en-us/library/ms229715.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With