chenzero created NET-652:
----------------------------

             Summary: 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


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)

Reply via email to