commons-user mailing list archives

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

In message <AANLkTinJ0FQAjoMA-QrUQeCWHNSiZ0Kk7oqL8uqtgJTr@mail.gmail.com>, 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.

daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message