How to FTP files using ASP.net

I need to send files to a FTP server. Can you please tell me how this is possible using ASP.net?
Thanks,



Som Bhat
0
sombhat
10/28/2004 5:43:29 AM
asp.net.getting-started 91979 articles. 4 followers. Follow

1 Replies
353 Views

Similar Articles

[PageSpeed] 32

With ASP.NET 1.x it's a little unpleasant, you need to download or write an FtpWebRequest (that inherits from System.Net.WebRequest) and use it to upload the files. (I'm assuming that your FTP server isn't also an HTTP server). There are samples of this: 

http://www.gotdotnet.com/workspaces/workspace.aspx?id=df40d855-4ac0-4253-a232-a0f1137f5fd9
http://support.microsoft.com/default.aspx?scid=kb;EN-US;812409
TTFN - Kent
0
ksharkey
10/28/2004 7:47:15 PM
Reply: