gicio Posted October 21, 2002 Posted October 21, 2002 Hi! I check the MSDN Library but I can't find any infos about: how to connect to and FTP... I need also infos how get folders names from the ftp.... Have any one experience which class can I use to connect to an FTP?? THX!!! Quote
speedstickoo Posted October 21, 2002 Posted October 21, 2002 (edited) Just open a connection to an FTP server using a socket. I think FTP runs on port 21. The most important thing you need to know, in my opinion, is how the FTP works (i.e. what messages are sent). Following that, any FTP client code that you find should be helpful in understanding the protocol. Ane being an ASCII protocol means it's pretty easy to understand. This site might have something: http://www.csharphelp.com/ Edited October 22, 2002 by speedstickoo Quote
*Gurus* divil Posted October 22, 2002 *Gurus* Posted October 22, 2002 FTP is port 21. Use a Socket or TcpClient class to connect. Read RFC 959 to learn the protocol and you should be all set. 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
*Gurus* Derek Stone Posted October 22, 2002 *Gurus* Posted October 22, 2002 http://www.aspalliance.com/shark/articles/FtpView/FtpViewDoc.aspx Quote Posting Guidelines
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.