Hi,
I have a Thread which has it's own FileTransferClient that executes every 3 seconds or so, and if we are expecting files on the FTP Server - the code calls:
fileTransferClient.directoryListing()
However, sometimes we get the error: Control channel unexpectedly closed ('' read so far)
Full Trace:
com.enterprisedt.net.ftp.ControlChannelIOException: Control channel unexpectedly closed ('' read so far)
at com.enterprisedt.net.ftp.FTPControlSocket.e(FTPControlSocket.java:1065)
at com.enterprisedt.net.ftp.FTPControlSocket.b(FTPControlSocket.java:1120)
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:1019)
at com.enterprisedt.net.ftp.FTPControlSocket.setDataPort(FTPControlSocket.java:831)
at com.enterprisedt.net.ftp.FTPControlSocket.a(FTPControlSocket.java:687)
at com.enterprisedt.net.ftp.FTPControlSocket.a(FTPControlSocket.java:634)
at com.enterprisedt.net.ftp.FTPControlSocket.a(FTPControlSocket.java:601)
at com.enterprisedt.net.ftp.FTPClient.createDataSocket(FTPClient.java:2743)
at com.enterprisedt.net.ftp.FTPClient.a(FTPClient.java:3818)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3912)
at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:3737)
at com.enterprisedt.net.ftp.FileTransferClient.directoryList(FileTransferClient.java:693)
at com.enterprisedt.net.ftp.FileTransferClient.directoryList(FileTransferClient.java:676)