commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Fazzini <ffrancesc...@gmail.com>
Subject Re: [Net] problem in FTP file retrieving
Date Mon, 22 Nov 2010 10:03:30 GMT
Hi Daniel,

I put the "ftpClient.completePendingCommand();"
after each "inpustream" closing. Now "retreveFileStream" works as well the
other API "retrieveFile".
Thanks.

Francesco
2010/11/18 Daniel F. Savarese <dfs@savarese.org>

>
> In message <AANLkTinY22dnwjr1xsK2fNdu5+r1oSeLWPhJFjk7V27d@mail.gmail.com<AANLkTinY22dnwjr1xsK2fNdu5%2Br1oSeLWPhJFjk7V27d@mail.gmail.com>>,
> Fran
> cesco Fazzini writes:
> >After the last server reply, the program is still running. The program
> >execution is pending during "ftpClient.completePendingCommand();"
> >invocation.
>
> You must call completePendingCommand after completing the file transfer.
> See the ftp.java example in the source distribution.
>
> daniel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message