Search code examples
c#apidropboxwrapperdropnet

Is there a way to get the changed bytes between files via DropNet?


I am using the DropNet API to communicate with Dropbox.

I noticed the clients GetFile call has an overload which takes the start and end bytes of a file, essentially meaning we can grab a portion of it.

Is there a way to check via the DropNet api calls which bytes have changed between revisions?

What I mean by that is, let's say I downloaded revision 1 of a file. The file is now at revision 2. Using DropNet, how would I get the bytes that have changed so when I call the GetFile overload I only end up downloading the changed bytes, instead of downloading the entire file again?


Solution

  • The Dropbox API itself doesn't offer a way to determine what bytes in particular have changed in a file, so unfortunately this won't be possible using the DropNet library. (We'll consider this a feature request for the Dropbox API though.)