Thanks for the quick response.
Yes, it works fine if I download from PC to CE.
Here is a log with the download ok, followed by the upload timeout.
Is it possible that a firewall would allow a download but not an upload?
I will do more investigating re firewalls. Maybe I need to reboot my XP machine after disabling it, or perhaps my WiFi access point or router is causing an issue.
I will have no time today to look further but will get back to it tomorrow.
Regards,
John.
DEBUG [FormFTP] 5 Nov 2008 08:21:40.000 : FormFTP() initializing
INFO [LicenseProperties] 5 Nov 2008 08:21:40.000 : Licence expiry date: 3/12/2008
INFO [LicenseProperties] 5 Nov 2008 08:21:40.000 : Trial license
INFO [LicenseProperties] 5 Nov 2008 08:21:40.000 : Licence expiry date: 3/12/2008
INFO [LicenseProperties] 5 Nov 2008 08:21:40.000 : Trial license
DEBUG [ExFTPClient] 5 Nov 2008 08:21:40.000 : Connecting to 192.168.0.4:21
DEBUG [HostNameResolver] 5 Nov 2008 08:21:40.000 : 192.168.0.4 resolved to 192.168.0.4
DEBUG [ExFTPControlSocket] 5 Nov 2008 08:21:41.000 : Connecting directly to ftp-server 192.168.0.4:21
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:41.000 : Setting socket timeout=120000
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:41.000 : Command encoding=System.Text.ASCIIEncoding
DEBUG [ExFTPControlSocket] 5 Nov 2008 08:21:41.000 : Created control-socket: SocksContext=, ProxySettings=NoProxy, RemoteHost=192.168.0.4, controlPort=21, timeout=120000
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:41.000 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:41.000 : 220-Welcome to Cerberus FTP Server
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:41.000 : 220 Created by Grant Averett
DEBUG [FTPConnection] 5 Nov 2008 08:21:41.000 : Connected to 192.168.0.4
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:41.000 : ---> USER Anonymous
DEBUG [EnterpriseDT.Net.Ftp.ExFTPConnection] 5 Nov 2008 08:21:41.000 : Starting KeepAlive thread with period 30s
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:42.000 : 230 User Anonymous logged in
DEBUG [FTPConnection] 5 Nov 2008 08:21:42.000 : Successfully logged in
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:42.000 : ---> TYPE I
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:42.000 : 200 Type Binary
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:42.000 : ---> PWD
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:42.000 : 257 "/" is the current directory
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : ---> TYPE I
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : 200 Type Binary
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : ---> CWD C\Temp
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : 250 Change directory ok
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : ---> PWD
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : 257 "/C/Temp" is the current directory
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : ---> SIZE RMSScan_DOWNLOAD.TXT
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : 213 1739056
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:43.000 : ---> PASV
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:44.000 : 227 Listening on (192,168,0,4,4,20)
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:44.000 : Server supplied address=192.168.0.4
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:44.000 : Server supplied port=1044
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:44.000 : Substituting server supplied IP (192.168.0.4) with remote host IP (192.168.0.4)
DEBUG [ExFTPControlSocket] 5 Nov 2008 08:21:44.000 : NewPassiveDataSocket(192.168.0.4,1044)
DEBUG [ExFTPControlSocket] 5 Nov 2008 08:21:44.000 : Connecting directly to ftp-server 192.168.0.4:1044
DEBUG [ExFTPPassiveDataSocket] 5 Nov 2008 08:21:44.000 : Created passive data-socket: ProxyConnector=
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:44.000 : ---> RETR RMSScan_DOWNLOAD.TXT
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:44.000 : 150 Opening data connection
DEBUG [FTPClient] 5 Nov 2008 08:21:52.000 : Transferred 1739056 bytes from remote host
DEBUG [FTPControlSocket] 5 Nov 2008 08:21:52.000 : 226 Transfer complete
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : ---> TYPE I
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : 200 Type Binary
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : ---> PASV
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : 227 Listening on (192,168,0,4,4,21)
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : Server supplied address=192.168.0.4
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : Server supplied port=1045
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : Substituting server supplied IP (192.168.0.4) with remote host IP (192.168.0.4)
DEBUG [ExFTPControlSocket] 5 Nov 2008 08:22:11.000 : NewPassiveDataSocket(192.168.0.4,1045)
DEBUG [ExFTPControlSocket] 5 Nov 2008 08:22:11.000 : Connecting directly to ftp-server 192.168.0.4:1045
DEBUG [ExFTPPassiveDataSocket] 5 Nov 2008 08:22:11.000 : Created passive data-socket: ProxyConnector=
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : ---> STOR UploadFile.TXT
DEBUG [FTPControlSocket] 5 Nov 2008 08:22:11.000 : 150 Opening data connection
DEBUG [FTPClient] 5 Nov 2008 08:25:21.000 : Closing source stream
ERROR [FTPClient] 5 Nov 2008 08:25:21.000 : Caught exception : System.IO.IOException: Unable to write data to the transport connection.
System.IO.IOException: Unable to write data to the transport connection.
CAUSED BY:
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
ERROR [FTPClient] 5 Nov 2008 08:25:21.000 : IOException in Put(string,string,bool) : System.IO.IOException: Unable to write data to the transport connection.
System.IO.IOException: Unable to write data to the transport connection.
CAUSED BY:
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
DEBUG [FTPControlSocket] 5 Nov 2008 08:25:21.000 : Setting socket timeout=500
DEBUG [FTPControlSocket] 5 Nov 2008 08:25:21.000 : 500 File transfer failed
INFO [FTPControlSocket] 5 Nov 2008 08:25:21.000 : Expected reply codes = [225,226,250,426,450] (strict=False)
DEBUG [FTPControlSocket] 5 Nov 2008 08:25:21.000 : Setting socket timeout=120000
DEBUG [FTPControlSocket] 5 Nov 2008 08:25:32.000 : ---> QUIT
ERROR [FTPControlSocket] 5 Nov 2008 08:25:32.000 : Control channel unexpectedly closed
ERROR [FTPControlSocket] 5 Nov 2008 08:25:32.000 : Exception in SendCommand : System.SystemException: Control channel unexpectedly closed
System.SystemException: Control channel unexpectedly closed
ERROR [EnterpriseDT.Net.Ftp.ExFTPConnection] 5 Nov 2008 08:25:32.000 : Command error : System.SystemException: Control channel unexpectedly closed
System.SystemException: Control channel unexpectedly closed
DEBUG [EnterpriseDT.Net.Ftp.ExFTPConnection] 5 Nov 2008 08:25:32.000 : KeepAlive thread finished.