You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by 消逝 <xi...@qq.com> on 2021/01/28 08:57:49 UTC

[VFS] Problem with download huge file from ftp

FTPClient has the solution to&nbsp;&nbsp;download huge file (which may cost more then 20min) with two&nbsp;parameter, such as:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ftpClient.setControlKeepAliveReplyTimeout(5000);
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ftpClient.setControlKeepAliveTimeout(15);


I hope the VFS can also support them.

Re: [VFS] Problem with download huge file from ftp

Posted by Gary Gregory <ga...@gmail.com>.
It looks like we need more in

https://javadoc.io/static/org.apache.commons/commons-vfs2/2.7.0/org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.html

as well as FTPClientWrapper...

PRs on GitHub are welcome ; -)

Gary

On Thu, Jan 28, 2021, 07:16 消逝 <xi...@qq.com> wrote:

> FTPClient has the solution to&nbsp;&nbsp;download huge file (which may
> cost more then 20min) with two&nbsp;parameter, such as:&nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; ftpClient.setControlKeepAliveReplyTimeout(5000);
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> ftpClient.setControlKeepAliveTimeout(15);
>
>
> I hope the VFS can also support them.