cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you're up against the clock to get holiday ready, so here are some tips on how to use Dropbox to make your prep easy! Check them out!

Dropbox files & folders

Get in sync with the Dropbox Community. Our members can answer all your questions on Dropbox files and folders. Join a discussion or start your own today.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How does Dropbox upload huge files that changed only a small portion?

How does Dropbox upload huge files that changed only a small portion?

j7GUvseRjB
Explorer | Level 3

I have a huge file in Dropbox. If I changed only a small portion, let's say 10 bytes from offset at 1GB position. Will Dropbox only upload the changed portion or upload the whole file again? Thanks.

1 Accepted Solution

Accepted Solutions

Re: How does Dropbox upload huge files that changed only a small portion?

Rich
Super User II

@j7GUvseRjB wrote:

I have a huge file in Dropbox. If I changed only a small portion, let's say 10 bytes from offset at 1GB position. Will Dropbox only upload the changed portion or upload the whole file again? Thanks.


It depends on how the saved file is written.

 

When Dropbox syncs your files, it first breaks them down into 4 MB chunks and then hashes each chunk. Dropbox then compares each hash to those that already exist in your exist in your account. Any that match are ignored and any that are different are uploaded. So, typically, if you have a large file already synced and you change just a few bytes, Dropbox will compare the entire file but only upload the chunks that have changed.

 

I said "it depends" earlier because there are cases where the entire file will be uploaded again. Such as while saving a file and the entire structure of the file changes, Dropbox will end up indexing and syncing the entire file even though you may have only made a minor change.

View solution in original post

2 Replies 2

Re: How does Dropbox upload huge files that changed only a small portion?

Rich
Super User II

@j7GUvseRjB wrote:

I have a huge file in Dropbox. If I changed only a small portion, let's say 10 bytes from offset at 1GB position. Will Dropbox only upload the changed portion or upload the whole file again? Thanks.


It depends on how the saved file is written.

 

When Dropbox syncs your files, it first breaks them down into 4 MB chunks and then hashes each chunk. Dropbox then compares each hash to those that already exist in your exist in your account. Any that match are ignored and any that are different are uploaded. So, typically, if you have a large file already synced and you change just a few bytes, Dropbox will compare the entire file but only upload the chunks that have changed.

 

I said "it depends" earlier because there are cases where the entire file will be uploaded again. Such as while saving a file and the entire structure of the file changes, Dropbox will end up indexing and syncing the entire file even though you may have only made a minor change.

View solution in original post

Re: How does Dropbox upload huge files that changed only a small portion?

j7GUvseRjB
Explorer | Level 3

Thanks for providing this info. So if I understand correctly, when I add a new byte to the beginning of the huge file, it will trigger a full upload, right?

Who's talking

Top contributors to this post

  • User avatar
    j7GUvseRjB Explorer | Level 3
  • User avatar
    Rich Super User II
What do Dropbox user levels mean?
Need more support?