I've noticed that the FTP does not totally lockup, but has a timeout after approx 9 min. The last part of the logfile looks like:-
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:42:27.007 : TIM getting file 427258cf.abp to \Assisttmpftp\print000\427258cf.abp
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.007 : ---> PORT 172,21,50,170,5,198
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.017 : 200 PORT command successful.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.017 : ---> RETR 427258cf.abp
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.048 : 150 Opening BINARY mode data connection for 427258cf.abp (1068 bytes).
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 17 Oct 2005 16:42:27.088 : Transferred 1068 bytes from remote host
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.208 : 226 Transfer complete.
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:42:27.208 : TIM getting file 428d9f1d.exc to \Assisttmpftp\print000\428d9f1d.exc
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.208 : ---> PORT 172,21,50,170,5,199
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.218 : 200 PORT command successful.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.218 : ---> RETR 428d9f1d.exc
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:42:27.298 : 150 Opening BINARY mode data connection for 428d9f1d.exc (1635 bytes).
ERROR [EnterpriseDT.Net.Ftp.FTPClient] 17 Oct 2005 16:51:47.492 : Caught exception : Unable to read data from the transport connection.
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.BinaryReader.Read(Byte[] buffer, Int32 index, Int32 count)
at EnterpriseDT.Net.Ftp.FTPClient.ReadChunk(BinaryReader input, Byte[] chunk, Int32 chunksize)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.793 : TIM file download failed
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.793 : TIM getting file 428df610.dop to \Assisttmpftp\print000\428df610.dop
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.793 : ---> PORT 172,21,50,170,5,223
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.793 : 226 Transfer complete.
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.803 : TIM file download failed
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.803 : TIM getting file 3f38d799.ctg to \Assisttmpftp\print000\3f38d799.ctg
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.803 : ---> PORT 172,21,50,170,5,224
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.803 : 200 PORT command successful.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.803 : ---> RETR 3f38d799.ctg
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.813 : 200 PORT command successful.
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.813 : TIM file download failed
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.813 : ---> CWD /pma/patient/smith000
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.853 : 425 Can't build data connection: Connection refused.
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.853 : TIM not directory /pma/patient/smith000
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.853 : ---> CWD /pma/patient/willi000
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.863 : 250 CWD command successful.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.863 : ---> PORT 172,21,50,170,5,225
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.873 : 250 CWD command successful.
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.873 : TIM not directory /pma/patient/willi000
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.873 : ---> CWD /pma/patient/notadirectory
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 17 Oct 2005 16:51:47.893 : 200 PORT command successful.
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.893 : TIM not directory /pma/patient/notadirectory
INFO [Huntleigh.FTPclient.PatientTransfer] 17 Oct 2005 16:51:47.893 : END OF LOG
As a side note, I can ftp to the server OK by using the windows ftp client.
I.e. There is no problem with the file 428d9f1d.exc
Cheers,
Tim