Skip to content
Auto
Products

Dropbox file system

This file system provides an implementation for the file system based on Dropbox, using the official Dropbox.Api SDK.

Using a long-lived OAuth2 access token:

using var fileSystem = TagBites.IO.Dropbox.DropboxFileSystem.Create(oauth2Token);
// ... using like standard file system

Using a refresh token together with your Dropbox app key/secret (recommended, as access tokens obtained this way are refreshed automatically):

using var fileSystem = TagBites.IO.Dropbox.DropboxFileSystem.Create(oauth2RefreshToken, appKey, appSecret);
// ... using like standard file system

The access/refresh token is obtained through the Dropbox OAuth2 flow for an app registered in the Dropbox App Console.

  • Asynchronous operations. Synchronous calls run on top of them.
  • Metadata: none.
  • Listings are paginated by Dropbox and fetched page by page.
  • The content hash is Dropbox’s own algorithm, not MD5, and is reported as such.

Full implementation on github: TagBites.IO.Dropbox.