Skip to content

How to implement hash sum to prefent duplicate download/upload #3018

Closed

Description

@guettli

AFAIK the client does not use hash sums to check before download/upload.

This produces unneccessary network traffic.

This has been reported before:

#779 (comment)

My question:

How to get this done?

Does the server API provide a way to get hash sums of files?

Does the webDAV API use unique ETags which could be used?

Activity

  1. etiess commented on Mar 24, 2015

    @etiess

    @guettli I think it is discussed on core for now: owncloud/core#11811

    It is an old discussion in OC development: if you have ideas or suggestion, I would do it there ;)

  2. guettli commented on Mar 25, 2015

    @guettli
    Author

    The propsal at the end of owncloud/core#11811 is about integrity. I want hashes to prevent useless up/downloads. These hashes should be used for ETags, too.

    That's why I leave this ticket open.

    @etiess Nevertheless, thank you very much for the link to the core ticket.

  3. guettli commented on Mar 25, 2015

    @guettli
    Author

    Yes, scalability is important. But for me the FAQ item is FUD.

    PostgreSQL can handle tables with millions of rows very well. BTree indexes scale very well :-)

    I am unsure if php is turing complete and could make it possible to make something like this optional.
    Leaving it up to the admin if hashes should be used or not.

  4. guettli commented on Mar 25, 2016

    @guettli
    Author

    Is this issue solved now, or is it a duplicate of another still open issue?

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions