Richie Posted February 25, 2003 Posted February 25, 2003 Can TCPListener be used to programattically connect to an ftp site? a_jam_sandwich gave me some great code that connects to an http site, but since the .NET framework is made to only support http, https, and file: I'm still working on figuring out what to do about ftp. Thanks Quote
*Gurus* divil Posted February 25, 2003 *Gurus* Posted February 25, 2003 If you're making your own component, use the TcpClient or Socket classes. I wrote my own ftp component using the Socket class. You can get around having to listen on a port by using passive mode for file transfers. You'll have to do a lot of reading up the Socket class and the FTP RFC (#959 if memory serves). Failing that, find a ready-made FTP component for .NET, there are plenty out there. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Richie Posted February 25, 2003 Author Posted February 25, 2003 do you know of any in particular? everything ive seen so far has a free trial, but costs money after that. I can't use something in production at work if it isn't truly free.. Quote
*Gurus* divil Posted February 25, 2003 *Gurus* Posted February 25, 2003 http://www.codeproject.com/dotnet/dotnetftp.asp CodeProject is always a good resource. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.