Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

JoeIngle

Posts

1

Joined

Tue May 10, 2011 7:26 pm

Failure to transfer files from Tumbleweed server

by JoeIngle » Tue May 10, 2011 8:43 pm

Hi All

I'm trying to pull files off a tumbleweed server in PASV mode. It would seem as though I can connect fine, but I get a SocketException when calling FtpConnection.GetFileInfos().

Below is log output in ALL mode. I should mention, I've tried this in ACTIVE mode too and end up with a ControlChannelIOException.

Could anyone review and let me know their thoughts. I suspect it's something proxy or firewall related, but an no network expert!

Thanks

Joe

INFO [LicenseProperties] 10 May 2011 11:34:09.662 : Licence expiry date: 31/12/9999
INFO [LicenseProperties] 10 May 2011 11:34:09.662 : Production license
DEBUG [FTPConnection] 10 May 2011 11:34:09.662 : Set LocalDirectory='C:\Automation\Console'
DEBUG [SecureFTPConnection] 10 May 2011 11:34:09.662 : Set LocalDirectory to C:\Automation\Console
INFO [LicenseProperties] 10 May 2011 11:34:09.662 : Licence expiry date: 31/12/9999
INFO [LicenseProperties] 10 May 2011 11:34:09.662 : Production license
DEBUG [SSLFTPClient] 10 May 2011 11:34:09.662 : Connecting to sft-dc4.ftp.nme.ncrs.nhs.uk:21
DEBUG [HostNameResolver] 10 May 2011 11:34:09.724 : sft-dc4.ftp.nme.ncrs.nhs.uk resolved to 20.146.241.242
DEBUG [SSLFTPControlSocket] 10 May 2011 11:34:09.724 : waitOnShutdownSSL=True
DEBUG [ExFTPControlSocket] 10 May 2011 11:34:09.724 : Connecting directly to ftp-server 20.146.241.242:21
DEBUG [FTPControlSocket] 10 May 2011 11:34:09.740 : Setting socket timeout=120000
DEBUG [SecureSocket] 10 May 2011 11:34:09.740 : Set timeout=120000
DEBUG [SecureSocket] 10 May 2011 11:34:09.740 : Set timeout=120000
DEBUG [FTPControlSocket] 10 May 2011 11:34:09.755 : Command encoding=System.Text.ASCIIEncoding
DEBUG [ExFTPControlSocket] 10 May 2011 11:34:09.755 : Created control-socket: SocksContext=, ProxySettings=NoProxy, RemoteHost=20.146.241.242, controlPort=21, timeout=120000
DEBUG [FTPControlSocket] 10 May 2011 11:34:09.755 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 10 May 2011 11:34:09.771 : 220 nhssvsodc12c008 FTP server (SecureTransport 4.7.1) ready.
DEBUG [FTPControlSocket] 10 May 2011 11:34:09.787 : ---> AUTH TLS
DEBUG [FTPControlSocket] 10 May 2011 11:34:09.802 : 234 SSLv23/TLSv1
DEBUG [SSLFTPControlSocket] 10 May 2011 11:34:09.802 : Beginning Ssl3, Tls1 handshake.
DEBUG [SocketController] 10 May 2011 11:34:10.646 : Processing hello
DEBUG [SecureSocket] 10 May 2011 11:34:11.927 : OnHandshakeComplete(True,null)
DEBUG [SSLFTPControlSocket] 10 May 2011 11:34:11.927 : Ssl3, Tls1 handshake complete.
DEBUG [FTPControlSocket] 10 May 2011 11:34:11.927 : ---> PBSZ 0
ALL [AsyncResult] 10 May 2011 11:34:11.927 : Notify setting completed: null 0
ALL [AsyncResult] 10 May 2011 11:34:11.927 : Notify setting wait: 0
ALL [TransferBuffer] 10 May 2011 11:34:11.943 : Wait begin: TransferBuffer.Read
ALL [TransferBuffer] 10 May 2011 11:34:11.943 : Wait end: TransferBuffer.Read
DEBUG [FTPControlSocket] 10 May 2011 11:34:11.943 : 200 PBSZ=0
ALL [AsyncResult] 10 May 2011 11:34:11.943 : Notify setting completed: null 1
ALL [AsyncResult] 10 May 2011 11:34:11.943 : Notify setting wait: 1
DEBUG [FTPControlSocket] 10 May 2011 11:34:11.943 : ---> PROT P
ALL [AsyncResult] 10 May 2011 11:34:11.943 : Notify setting completed: null 2
ALL [AsyncResult] 10 May 2011 11:34:11.943 : Notify setting wait: 2
ALL [AsyncResult] 10 May 2011 11:34:11.943 : WaitOne completed: 2
ALL [AsyncResult] 10 May 2011 11:34:11.974 : Notify setting completed: null 3
ALL [AsyncResult] 10 May 2011 11:34:11.974 : Notify setting wait: 3
ALL [TransferBuffer] 10 May 2011 11:34:11.974 : Wait begin: TransferBuffer.Read
ALL [TransferBuffer] 10 May 2011 11:34:11.974 : Wait end: TransferBuffer.Read
DEBUG [FTPControlSocket] 10 May 2011 11:34:11.974 : 200 PROT command successful
DEBUG [FTPControlSocket] 10 May 2011 11:34:11.974 : ---> USER RCF
ALL [AsyncResult] 10 May 2011 11:34:11.974 : WaitOne begin: 200 4
ALL [AsyncResult] 10 May 2011 11:34:11.974 : Notify setting completed: null 4
ALL [AsyncResult] 10 May 2011 11:34:11.974 : Notify setting wait: 4
ALL [AsyncResult] 10 May 2011 11:34:11.974 : WaitOne end: True 4
ALL [AsyncResult] 10 May 2011 11:34:12.146 : Notify setting completed: null 5
ALL [AsyncResult] 10 May 2011 11:34:12.146 : Notify setting wait: 5
ALL [TransferBuffer] 10 May 2011 11:34:12.146 : Wait begin: TransferBuffer.Read
ALL [TransferBuffer] 10 May 2011 11:34:12.146 : Wait end: TransferBuffer.Read
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.146 : 230 Virtual user RCF logged in.
DEBUG [FTPConnection] 10 May 2011 11:34:12.146 : Successfully logged in
DEBUG [ExFTPConnection] 10 May 2011 11:34:12.146 : Starting KeepAlive thread with period 60s
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.146 : ---> TYPE I
ALL [AsyncResult] 10 May 2011 11:34:12.146 : WaitOne begin: 200 6
ALL [AsyncResult] 10 May 2011 11:34:12.146 : Notify setting completed: null 6
ALL [AsyncResult] 10 May 2011 11:34:12.146 : Notify setting wait: 6
ALL [AsyncResult] 10 May 2011 11:34:12.146 : WaitOne end: True 6
ALL [AsyncResult] 10 May 2011 11:34:12.177 : Notify setting completed: null 7
ALL [AsyncResult] 10 May 2011 11:34:12.177 : Notify setting wait: 7
ALL [TransferBuffer] 10 May 2011 11:34:12.177 : Wait begin: TransferBuffer.Read
ALL [TransferBuffer] 10 May 2011 11:34:12.177 : Wait end: TransferBuffer.Read
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.177 : 200 Type set to I.
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.177 : ---> PWD
ALL [AsyncResult] 10 May 2011 11:34:12.177 : WaitOne begin: 200 8
ALL [AsyncResult] 10 May 2011 11:34:12.177 : Notify setting completed: null 8
ALL [AsyncResult] 10 May 2011 11:34:12.177 : Notify setting wait: 8
ALL [AsyncResult] 10 May 2011 11:34:12.177 : WaitOne end: True 8
ALL [TransferBuffer] 10 May 2011 11:34:12.209 : Wait begin: TransferBuffer.Read
ALL [AsyncResult] 10 May 2011 11:34:12.209 : Notify setting completed: null 9
ALL [AsyncResult] 10 May 2011 11:34:12.209 : Notify setting wait: 9
ALL [TransferBuffer] 10 May 2011 11:34:12.209 : Wait end: TransferBuffer.Read
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.209 : 257 "/" is current directory.
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.224 : ---> SYST
ALL [AsyncResult] 10 May 2011 11:34:12.224 : WaitOne begin: 200 10
ALL [AsyncResult] 10 May 2011 11:34:12.224 : Notify setting completed: null 10
ALL [AsyncResult] 10 May 2011 11:34:12.224 : Notify setting wait: 10
ALL [AsyncResult] 10 May 2011 11:34:12.224 : WaitOne end: True 10
ALL [AsyncResult] 10 May 2011 11:34:12.240 : Notify setting completed: null 11
ALL [AsyncResult] 10 May 2011 11:34:12.240 : Notify setting wait: 11
ALL [TransferBuffer] 10 May 2011 11:34:12.240 : Wait begin: TransferBuffer.Read
ALL [TransferBuffer] 10 May 2011 11:34:12.240 : Wait end: TransferBuffer.Read
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.240 : 215 UNIX Type: L8
DEBUG [FTPFileFactory] 10 May 2011 11:34:12.240 : Selected UNIX parser
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.240 : ---> PWD
ALL [AsyncResult] 10 May 2011 11:34:12.240 : WaitOne begin: 200 12
ALL [AsyncResult] 10 May 2011 11:34:12.240 : Notify setting completed: null 12
ALL [AsyncResult] 10 May 2011 11:34:12.240 : Notify setting wait: 12
ALL [AsyncResult] 10 May 2011 11:34:12.240 : WaitOne end: True 12
ALL [TransferBuffer] 10 May 2011 11:34:12.271 : Wait begin: TransferBuffer.Read
ALL [AsyncResult] 10 May 2011 11:34:12.271 : Notify setting completed: null 13
ALL [TransferBuffer] 10 May 2011 11:34:12.271 : Wait end: TransferBuffer.Read
ALL [AsyncResult] 10 May 2011 11:34:12.271 : Notify setting wait: 13
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.271 : 257 "/" is current directory.
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.271 : ---> PASV
ALL [AsyncResult] 10 May 2011 11:34:12.271 : WaitOne begin: 200 14
ALL [AsyncResult] 10 May 2011 11:34:12.287 : Notify setting completed: null 14
ALL [AsyncResult] 10 May 2011 11:34:12.287 : Notify setting wait: 14
ALL [AsyncResult] 10 May 2011 11:34:12.287 : WaitOne end: True 14
ALL [AsyncResult] 10 May 2011 11:34:12.302 : Notify setting completed: null 15
ALL [TransferBuffer] 10 May 2011 11:34:12.302 : Wait begin: TransferBuffer.Read
ALL [AsyncResult] 10 May 2011 11:34:12.302 : Notify setting wait: 15
ALL [TransferBuffer] 10 May 2011 11:34:12.302 : Wait end: TransferBuffer.Read
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.302 : 227 Entering Passive Mode (20,146,247,8,164,176)
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.302 : Server supplied address=20.146.247.8
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.302 : Server supplied port=42160
DEBUG [FTPControlSocket] 10 May 2011 11:34:12.302 : Substituting server supplied IP (20.146.247.8) with remote host IP (20.146.241.242)
DEBUG [SecureSocket] 10 May 2011 11:34:12.302 : Set timeout=120000
DEBUG [SecureSocket] 10 May 2011 11:34:12.302 : Set timeout=120000
DEBUG [ExFTPControlSocket] 10 May 2011 11:34:12.302 : Connecting directly to ftp-server 20.146.241.242:42160
ERROR [ExFTPControlSocket] 10 May 2011 11:34:35.179 : Failed to create connecting socket : 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 20.146.241.242:42160
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 20.146.241.242:42160
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at E20SuX1smdAGS6gFfZk.t2Qrji1XtAQw0lKPTgi.Connect(EndPoint )
at 0HCyVZJviShP8FXHBdI.TUVxBrJcde7XnT3Ytvq.Connect(EndPoint )
at md5s9190KUl01GImg0i.7tNRPo9ybgVQBG7Emn0.nD2KbCjna7(BaseSocket , IPAddress , Int32 )
at c0AZ9SJKVPoywyRLufY.mMByLPJB0doArtylnuK.nD2KbCjna7(BaseSocket , IPAddress , Int32 )
at md5s9190KUl01GImg0i.7tNRPo9ybgVQBG7Emn0.ZfLQOqC0O(String , Int32 , BaseSocket )
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Failure to transfer files from Tumbleweed server

by support2 » Wed May 18, 2011 4:40 pm

Sorry for the late reply - only just noticed your post for some reason. For our commercial products please email support@enterprisedt.com for a rapid response - forum responses are always a bit variable.

You could try switching off AutoPassiveSubstitution just in case that is hindering things. Otherwise yes it is most likely a firewall problem, and you need to have the settings changed to permit connections on the passive port range.

Who is online

Users browsing this forum: No registered users and 27 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron