Re: [twsocket] SSL FTP clients (demo) connects but timeout on List command

2012-07-03 Thread Angus Robertson - Magenta Systems Ltd
> It ends with similar error. So is problem in our firewall? > Command: PASV > Response: 227 Entering Passive Mode (217,146,102,142,82,27). Not quite the same, since at least my server has returned a public IP address for your client to connect to. Most firewalls allow outside access to

Re: [twsocket] SSL FTP clients (demo) connects but timeout on List command

2012-07-03 Thread Dusan Halicky
It ends with similar error. So is problem in our firewall? Status: Resolving address of ics.ftptest.org Status: Connecting to 217.146.102.142:990... Status: Connection established, initializing TLS... Status: Verifying certificate... Status: TLS/SSL connection established, waiting for welcome mess

Re: [twsocket] SSL FTP clients (demo) connects but timeout on List command

2012-07-03 Thread Angus Robertson - Magenta Systems Ltd
> It might be possible, we have very restrictive firewall. Is there > any way how to detect which port it is trying to use so I can allow > them? In passive mode, the FTP server offers an IP address and port for the client to connect to, you have no control over what ports it chooses. Since it

Re: [twsocket] SSL FTP clients (demo) connects but timeout on List command

2012-07-03 Thread Dusan Halicky
> The DIR command is the first command that needs to use the data channel, > failure usually means the new data TCP connection has been blocked by a > firewall or NAT routing has failed to find a route. It might be possible, we have very restrictive firewall. Is there any way how to detect which p

Re: [twsocket] SSL FTP clients (demo) connects but timeout on List command

2012-07-03 Thread Angus Robertson - Magenta Systems Ltd
> So everything works except dir command always fails on timeout. Any > idea? The DIR command is the first command that needs to use the data channel, failure usually means the new data TCP connection has been blocked by a firewall or NAT routing has failed to find a route. Some firewalls have

Re: [twsocket] SSL FTP clients (demo) connects but timeout on List command

2012-07-03 Thread Dusan Halicky
Sorry, I accidentally pressed send button before the mail was done. I use FTP client demo from OverbyteIcsSslFtpTst1.dpr. I set up server, port, username, password, host file (directory on server). Then I use these commands: Open - ok Auth TLS/SSL - ok User - ok Pass - ok Cwd - ok Pwd - ok (I see

[twsocket] SSL FTP clients (demo) connects but timeout on List command

2012-07-03 Thread Dusan Halicky
I use FTP client demo from OverbyteIcsSslFtpTst1.dpr. I set up server, port, username, password, host file (directory on server). Then I use these commands: Open - ok Auth TLS/SSL - ok User - ok Pass - ok Cwd Winsock version 2.2 WinSock 2.0 Running Executing Requested Command < 220 EFT Serv