Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
3.6
-
None
-
None
Description
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.