commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <>
Subject Re: [Net] problem with listFiles(String pathname)
Date Sat, 26 Feb 2011 00:37:28 GMT

In message <>, Fran
cesco Fazzini writes:
>         2)adding "ftpClient.enterLocalPassiveMode();" just after the
>first line("FTPClient ftpClient=3D new FTPClient();").

You should enter passive mode after logging into the FTP server.  Calling
enterLocalPassiveMode() without even being connected won't work.  As
someone else said, your Windows environment is running a firewall or
is subject to network address translation, preventing the FTP data connection
from being established from the server to the client.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message