You say that the error is a timeout? When does the timeout occur?
Does it occur on the initial connection, or does it occur when trying to
perform a transfer (i.e. a PUT, GET or directory listing).
In either case, it's most likely a firewall issue. But, what needs to
be changed in the firewall would be very different depending on where
the error occurs.
If it happens during a data transfer, changing to passive mode may help.
Data transfers occur on a random port number, and that makes firewall
management somewhat complicated. It also creates issues with NAT since
the port number is communicated through the control channel, and NAT
needs to therefore change the data sent in teh control channel.
On the other hand, if it's happening immediately during the initial
connection, then it's a simple TCP connection to port 21 that's being
blocked by a firewall.
If you're not sure, you can do a simple test via TELNET. Just telnet to
port 21 on the FTP server. If you get a 220 response in the telnet
window, then the initial connection is working okay, and that's not the
problem. (You cannot test data transfers in telnet, however, since
telnet isn't FTP!)
Jon Paris wrote:
FTP (and FTP client in Zend Studio) both fail with timeout. DNS has
resolved to correct IP. User namer and PW verified by cut/paste into
5250 session on another i5 - FTP works.
As an Amazon Associate we earn from qualifying purchases.