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 systemUsing 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 systemThe access/refresh token is obtained through the Dropbox OAuth2 flow for an app registered in the Dropbox App Console.
Capabilities
Section titled “Capabilities”- 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.