You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2018/01/22 15:09:00 UTC

[jira] [Commented] (NET-652) Ftp Connection Resuming

    [ https://issues.apache.org/jira/browse/NET-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334375#comment-16334375 ] 

Sebb commented on NET-652:
--------------------------

This is out of scope for NET, which is intended to be a low-level interface to protocols such as FTP.

I think such retries belong in the calling code.

> Ftp Connection Resuming
> -----------------------
>
>                 Key: NET-652
>                 URL: https://issues.apache.org/jira/browse/NET-652
>             Project: Commons Net
>          Issue Type: Improvement
>          Components: FTP
>    Affects Versions: 3.6
>            Reporter: chenzero
>            Priority: Major
>
> In a unstable networking, it can not download a relative big file from FTP server.
> For most FTP servers, the "REST" command is supported, and can be used to specify the transfer starting offset.
> in additional, a progress data is saved at the end of the local fie.
> The format is: signature(32 bytes) + remoteFile timestamp(long) + transferred offset(long)
> so, the whole progress data is 48 bytes.
> if connection broken, the FtpClient will first read progress data from the local file
> and transfer resumed from the offset.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)