commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas A <thomas...@gmail.com>
Subject [net] FtpClient.listFiles(String) sends REST
Date Thu, 12 Jul 2012 12:29:55 GMT
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?

>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)
 )

Regards,
Thomas Axelsson

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


Mime
View raw message