commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas A <thomas...@gmail.com>
Subject Re: [net] FtpClient.listFiles(String) sends REST
Date Fri, 13 Jul 2012 07:03:44 GMT
I have filed an issue here https://issues.apache.org/jira/browse/NET-475

//Thomas

On Thu, Jul 12, 2012 at 7:11 PM, sebb <sebbaz@gmail.com> wrote:
> On 12 July 2012 13:29, Thomas A <thomasa88@gmail.com> wrote:
>> Hi!
>>
>> We are using FtpClient to perform FTP uploads and downloads. When
>> first calling .setRestartOffset() and then listFiles(String) on the
>> FtpClient object, we have found that the restart offset is sent to the
>> server, that is REST, LIST is sent. Is this correct behavior?
>
> Does not sound right.
>
>> From what I can gather from the javadoc, REST is only supposed to be
>> sent before file transfers.
>> ("... The restart command is sent to the server only before sending
>> the file transfer command. ..."
>> http://commons.apache.org/net/api-3.1/org/apache/commons/net/ftp/FTPClient.html#setRestartOffset(long)
>>  )
>
> Can you file a JIRA issue with sample code and output from a command listener?
>
> e.g.
>
> ftp.addProtocolCommandListener(new PrintCommandListener(new
> PrintWriter(System.out), true));
>
> Thanks!
>
>> Regards,
>> Thomas Axelsson
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>

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


Mime
View raw message