Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-652

Ftp Connection Resuming

    XMLWordPrintableJSON

Details

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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            chenzero chenzero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: