When running the rundemo.exe on ftp.microsoft.com, I get the following:
1.1.3\demo>rundemo.exe ftp.microsoft.com anonymous bob@msn.com
INFO [Demo] 16 Dec 2004 08:24:43.859 : Connecting
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 16 Dec 2004 08:24:43.875 : Connecting to 207.46.133.140:21
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.203 : 220 Microsoft FTP Service
INFO [Demo] 16 Dec 2004 08:24:47.203 : Logging in
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.203 : ---> USER anonymous
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.343 : 331 Anonymous access allowed, send identity (e-mail name) as password.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.343 : ---> PASS ********
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.484 : 230-This is FTP.Microsoft.Com
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.812 : 230 Anonymous user logged in.
DEBUG [Demo] 16 Dec 2004 08:24:47.812 : Setting up passive, ASCII transfers
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.812 : ---> TYPE A
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.953 : 200 Type set to A.
DEBUG [Demo] 16 Dec 2004 08:24:47.953 : Directory before put:
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:47.953 : ---> PASV
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 16 Dec 2004 08:24:48.125 : 227 Entering Passive Mode 207,46,133,140,229,9).
DEBUG [Demo] 16 Dec 2004 08:25:09.125 : at System.Net.Sockets.Socket.Connect(
EndPoint remoteEP)
at EnterpriseDT.Net.StandardSocket.Connect(EndPoint remoteEP)
at EnterpriseDT.Net.Ftp.FTPControlSocket.NewPassiveDataSocket(String ipAddress, Int32 port)
at EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocketPASV()
at EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocket(FTPConnectMode connectMode)
at EnterpriseDT.Net.Ftp.FTPClient.Dir(String dirname, Boolean full)
at Demo.Main(String[] args)
Any ideas? Thank you very much.