Case closed.
For anyone who comes across this issue in the future...
FTPClient defaults to active mode. Our server which is running the
application does not accept incoming connections (except on a few
ports), so I needed to change FTPClient mode to passive.
Thanks,
-Riz.
Rizwan Merchant wrote:
Ftp manually from FC4 box to ftp server allows me to navigate and list
files.
So should the client be in active or passive mode when listing/getting
files? I am guessing passive, because when i try to list manually, it
automatically enters passive mode. Please confirm.
Thanks.
Graeme J Sweeney wrote:
On Tue, 20 Jun 2006, Rizwan Merchant wrote:
I am not sure what kind of env the FTP server is running on. But my
client app is running on tomcat5.5. FPTClient can listfiles when
application running on Windows..but when the SAME application is
running on FC4, it cannot list the files on the FTP server.
I'm guessing the target FTP server is a windows box (50:50 ;-).
ftp manually from the FC4 box to the ftp server. Can you navigate
successfully?
It sounds like an active vs passive mode problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]