Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester  here!

Forum Discussion

Karl H.4's avatar
Karl H.4
Collaborator | Level 8
3 years ago
Solved

Why does Dropbox upload files when I move them?

In Windows File Manager, with files that are not online-only -- when I move a set of files from one Dropbox folder to another, it often shows that these files are being uploaded from my PC to Dropbox all over again.  I'm not positive that this happens every time, but it seems very inefficient.  Is it supposed to do this?


  • Karl H.4 wrote:

    In Windows File Manager, with files that are not online-only -- when I move a set of files from one Dropbox folder to another, it often shows that these files are being uploaded from my PC to Dropbox all over again.


    It may say that it's uploading files, but it's smart enough to know that it doesn't need to.

     

    When you move or rename a file, Dropbox doesn't see that as a move, but as a deletion and a creation. Dropbox is notified by your operating system that a file was removed in one location and a new file appeared in a different location. Dropbox then indexes the "new" file, which consists of splitting the file into 4MB chunks and then hashing each chunk. Those hashes are then sent to the Dropbox server and compared to the hashes that they already have for your account. If it finds a matching hash, it knows that it doesn't need to upload that particular chunk of the file and moves on to the next.

     

    What you may see as uploading of files is likely just the hashes, or comparison data, for each file. The only files that actually need to transfer are those that Dropbox doesn't have record of.

     

    There's a pretty easy way to see how this happens as well. Upload a rather large file to Dropbox. It doesn't have to be too big; just something that uploads in a time that you can measure. Once the file is fully synced and it has a green check, make a copy of it in another folder elsewhere in your account, then time how long it takes to upload that file. It should finish MUCH faster, usually in a matter of seconds, because Dropbox knows the file already exists in your account.

2 Replies

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    3 years ago

    Karl H.4 wrote:

    In Windows File Manager, with files that are not online-only -- when I move a set of files from one Dropbox folder to another, it often shows that these files are being uploaded from my PC to Dropbox all over again.


    It may say that it's uploading files, but it's smart enough to know that it doesn't need to.

     

    When you move or rename a file, Dropbox doesn't see that as a move, but as a deletion and a creation. Dropbox is notified by your operating system that a file was removed in one location and a new file appeared in a different location. Dropbox then indexes the "new" file, which consists of splitting the file into 4MB chunks and then hashing each chunk. Those hashes are then sent to the Dropbox server and compared to the hashes that they already have for your account. If it finds a matching hash, it knows that it doesn't need to upload that particular chunk of the file and moves on to the next.

     

    What you may see as uploading of files is likely just the hashes, or comparison data, for each file. The only files that actually need to transfer are those that Dropbox doesn't have record of.

     

    There's a pretty easy way to see how this happens as well. Upload a rather large file to Dropbox. It doesn't have to be too big; just something that uploads in a time that you can measure. Once the file is fully synced and it has a green check, make a copy of it in another folder elsewhere in your account, then time how long it takes to upload that file. It should finish MUCH faster, usually in a matter of seconds, because Dropbox knows the file already exists in your account.

  • Karl H.4's avatar
    Karl H.4
    Collaborator | Level 8
    3 years ago

    Thanks for the explanation!  It grinds the hard drive so much and takes so long, it really did seem to be uploading...

About Delete, edit, and organize

Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.

Need More Support

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!