Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-172

Interrupt download if the doc is remotely deleted before download is over

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.3.1107
    • Fix Version/s: 2.0.0522
    • Component/s: Remote client, Synchronizer

      Description

      This is an optimization as:

      • The download file is a temporary file prefixed by '.' and suffixed by '.part', so it cannot be opened by the user.
      • The file, once downloaded, gets deleted afterwards when Drive detects its remote deletion in next synchronization round, so finally the file ends up to be removed from the file system.

      Multithreaded implementation will allow this as we can watch server-side changes while downloading and interrupt a download in such case.

      PS: the other way around, we need to check that upload is interrupted if a file is locally deleted before its upload is over (should be the case).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: