Excuse for my bad bad english. I tryed to connect to my ftp server with ftpconnection (free library), i used the sample application downloaded from your site. When call getfiles() this is the trace log:
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 24 ott 2005 18.52.56.080 : Connecting to XXX.XXX.XXX.XX:21
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.56.611 : 220 Serv-U FTP-Server v2.5i for WinSock ready...
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.56.621 : ---> USER user
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.56.851 : 331 User name okay, need password.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.56.851 : ---> PASS ********
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.57.112 : 230 User logged in, proceed.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.57.112 : ---> TYPE A
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.57.342 : 200 Type set to A.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.57.352 : ---> PASV
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.57.583 : 227 Entering Passive Mode (XXX,XXX,XXX,XX,XX,XXX)
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.57.823 : ---> NLST .
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.58.063 : 150 Opening ASCII mode data connection for /bin/ls.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.58.434 : 226-Maximum disk quota limited to 2000000 Kbytes
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.58.434 : Used disk quota 1000 Kbytes, available 1998999 Kbytes
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.58.434 : 226 Transfer complete.
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 24 ott 2005 18.52.58.434 : No listing data found
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.58.434 : ---> QUIT
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 24 ott 2005 18.52.58.664 : 221 Goodbye!
If i use the command line sample with ftpclient api i work correctly, whi ? What is the problem
PS I trye to use the active mode buth :( ?
Thanks
Stefano Paparesta