Here is the ErrorLog from trying to use the GetFiles() method. This makes no sense that you can't enum the files with the GetFiles() but you can with the GetFileInfos(). Also, I'm using the free EDT FTP Server for testing which in and of itself has problems with domains, user accounts and permissions.... Any help would be appriciated. TIA
INFO [LicenseProperties] 4 May 2007 08:36:24.067 : Licence expiry date: 6/23/2007
INFO [LicenseProperties] 4 May 2007 08:36:24.067 : Trial license
INFO [LicenseProperties] 4 May 2007 08:36:24.067 : Licence expiry date: 6/23/2007
INFO [LicenseProperties] 4 May 2007 08:36:24.082 : Trial license
DEBUG [SSLFTPClient] 4 May 2007 08:36:24.082 : Connecting to 137.107.195.19:21
DEBUG [HostNameResolver] 4 May 2007 08:36:24.082 : 137.107.195.19 resolved to 137.107.195.19
DEBUG [ExFTPControlSocket] 4 May 2007 08:36:24.098 : Connecting directly to ftp-server 137.107.195.19:21
DEBUG [ExFTPControlSocket] 4 May 2007 08:36:24.113 : Created control-socket: SocksContext=, RemoteHost=137.107.195.19, controlPort=21, timeout=0
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.607 : 220-You are accessing an edtFTPD server.
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.607 :
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.607 : You are accessing an edtFTPD server
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.607 : edtFTPD is a free component of the edt Platform
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.607 : Enterprise Distributed Technologies
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.607 :
http://www.enterprisedt.com
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.607 :
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.607 : 220 ProFTPD 1.2.9 Server (ServerAuthCert) [DEV1.cs.myBox.net]
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.639 : ---> AUTH TLS
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.639 : 234 AUTH TLS successful
DEBUG [SSLFTPControlSocket] 4 May 2007 08:36:29.639 : Beginning Tls1 handshake.
DEBUG [SSLFTPControlSocket] 4 May 2007 08:36:29.795 : Tls1 handshake complete.
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.795 : ---> PBSZ 0
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.810 : 200 PBSZ 0 successful
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.810 : ---> PROT P
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.810 : 200 Protection set to Private
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.826 : ---> USER TestUser
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.826 : 331 Password required for TestUser.
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.826 : ---> PASS ********
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.935 : 230 User TestUser logged in.
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.951 : ---> TYPE I
DEBUG [EnterpriseDT.Net.Ftp.ExFTPConnection] 4 May 2007 08:36:29.951 : Starting KeepAlive thread with period 30s
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.951 : 200 Type set to I
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.951 : ---> PWD
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.951 : 257 "/" is current directory.
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.966 : ---> CWD /
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.966 : 250 CWD command successful.
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.966 : ---> PWD
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.982 : 257 "/" is current directory.
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.982 : ---> CWD /Testing
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.982 : 250 CWD command successful.
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.982 : ---> PWD
DEBUG [FTPControlSocket] 4 May 2007 08:36:29.998 : 257 "/Testing" is current directory.
DEBUG [FTPControlSocket] 4 May 2007 08:36:32.370 : ---> PASV
DEBUG [FTPControlSocket] 4 May 2007 08:36:32.386 : 227 Entering Passive Mode (137,237,165,19,19,41).
DEBUG [FTPControlSocket] 4 May 2007 08:36:32.386 : Server supplied address=137.107.195.19
DEBUG [FTPControlSocket] 4 May 2007 08:36:32.386 : Server supplied port=4905
DEBUG [FTPControlSocket] 4 May 2007 08:36:32.386 : Substituting server supplied IP (137.107.195.19) with remote host IP (137.107.195.19)
DEBUG [ExFTPControlSocket] 4 May 2007 08:36:32.386 : Connecting directly to ftp-server 137.107.195.19:4905
DEBUG [ExFTPPassiveDataSocket] 4 May 2007 08:36:32.401 : Created passive data-socket: SocksConnector=
DEBUG [SSLFTPPassiveDataSocket] 4 May 2007 08:36:32.401 : Created passive data-socket: Protocol=Tls1, CompatibilityFlags=Standard, UseSSLClosure=True, WaitOnClose=True
DEBUG [FTPControlSocket] 4 May 2007 08:36:32.401 : ---> NLST .
DEBUG [FTPControlSocket] 4 May 2007 08:36:32.401 : 450 .: Permission denied
DEBUG [SSLFTPPassiveDataSocket] 4 May 2007 08:36:32.417 : Closing passive data-channel.
DEBUG [SSLFTPPassiveDataSocket] 4 May 2007 08:36:32.417 : Beginning SSL closure exchange on passive data-channel.
DEBUG [SSLFTPPassiveDataSocket] 4 May 2007 08:36:32.417 : SSL closure exchange
DEBUG [SSLFTPPassiveDataSocket] 4 May 2007 08:36:32.417 : Passive data-channel closed
DEBUG [AsyncProcessor] 4 May 2007 08:36:37.568 : Stopping FTP task processor.
DEBUG [AsyncProcessor] 4 May 2007 08:36:37.568 : FTP task processor stopped.
DEBUG [FTPControlSocket] 4 May 2007 08:36:37.568 : ---> QUIT
DEBUG [FTPControlSocket] 4 May 2007 08:36:37.583 : 221 Goodbye.
DEBUG [SecureSocket] 4 May 2007 08:36:37.583 : Shutdown(Both)
ERROR [SocketController] 4 May 2007 08:36:37.646 : ResumeSending - caught exception - closing : System.Net.Sockets.SocketException: A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call
System.Net.Sockets.SocketException: A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call
at System.Net.Sockets.Socket.BeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
at w.e()
DEBUG [TransferBuffer] 4 May 2007 08:36:37.708 : Close() called when open
DEBUG [EnterpriseDT.Net.Ftp.ExFTPConnection] 4 May 2007 08:36:37.927 : KeepAlive thread finished.