Hi,
I currently using the free version of your library to connect to a microcontroller with integrated FTP server function, the internal FTP server is very limited and certain commands are not available. My problem is that I can't use the GetFiles() command, I get an error "code=504" command not implemented.
here's the log :
DEBUG [EnterpriseDT.Net.HostNameResolver] 27 oct. 2006 15:28:14.143 : 172.20.0.252 resolved to 172.20.0.252
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 27 oct. 2006 15:28:14.174 : Connecting to 172.20.0.252:21
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:14.206 : 220 Hello! Welcome to Pragtec FTP Server!
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:14.206 : ---> USER foo
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:14.206 : 331 Password required
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:14.206 : ---> PASS ********
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:14.221 : 230 User logged in.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:14.221 : ---> TYPE I
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:14.221 : 200 IMAGE mode set
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:16.100 : ---> CWD /fs2
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:16.100 : 250 OK
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:16.476 : ---> PASV
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:16.491 : 227 Entering Passive Mode (172,20,0,252,4,28).
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:16.491 : Substituting server supplied IP (172.20.0.252) with remote host IP (172.20.0.252)
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:16.491 : ---> NLST .
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 27 oct. 2006 15:28:16.507 : 504 Command not implemented for that parameter.
Anybody knows what I could do ?
I can use that FTP server fine when using Filezilla.
Thanks!