Skip to content

Allow metadata-only uploads and downloads #4755

Closed as not planned
Closed as not planned

Description

@ckamm

In some cases file metadata changes, but the file content stays the same. This situation is detected through checksums (see #4375 #4754). When that happens, we want to avoid re-uploading or downloading the full file and just update the metadata instead.

  1. When the current and the stored checksum of a local file are identical, but metadata (mtime, possibly permissions in the future) changed, use a PROPSET to update the remote metadata.
  2. When the remote metadata changed but the remote and local checksums are identical, update the local metadata.

Activity

  1. added this to the milestone on Apr 28, 2016
  2. ckamm commented on May 19, 2016

    @ckamm
    ContributorAuthor
  3. modified the milestones: 2.4.0, 2.3.0 on May 20, 2016
  4. moscicki commented on May 25, 2016

    @moscicki
    Contributor

    I would also consider to allow syncing additional metadata (maybe OS dependent, such as labels on OSX). This maybe a separate issue though...

  5. removed this from the 2.4.0 milestone on Apr 28, 2017
  6. ogoffart commented on Apr 28, 2017

    @ogoffart
    Contributor

    (I removed the milestone because it depends on a server issue which is not scheduled.)

  7. guruz commented on Jul 6, 2018

    @guruz
    Contributor
  8. guruz commented on Jul 6, 2018

    @guruz
    Contributor

    Maybe we'd then need a server capability can-change-metadata-without-etag-change?

  9. PVince81 commented on Jul 6, 2018

    @PVince81

    yes, or "etag-propagation-behavior v2.0" or "metadata-behavior v2.0"
    then every time we change it we increase its major version like for APIs

  10. moscicki commented on Jul 6, 2018

    @moscicki
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions