I have been using edtftpnet.dll for some time now and in my VB code I use
Dim files As Array = FTPClient.Dir(strfilter, True)
to obtain a listing of files in a remote server folder [strfilter]. I have had no problems until a couple of days ago when my code started failing at this line with the following error message:
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadLine()
at EnterpriseDT.Net.Ftp.FTPControlSocket.ReadReply()
at EnterpriseDT.Net.Ftp.FTPClient.Dir(String dirname, Boolean full)
My code has not changed for some months and I am at a loss in understanding why I now get these errors. I can still connect with the server and upload and download files with my code - I just can't get a Directory listing.
Thanks,
NagaJim