RemoteStorage.Dropbox

WORK IN PROGRESS, NOT RECOMMENDED FOR PRODUCTION USE

Dropbox backend for RemoteStorage.js this file exposes a get/put/delete interface which is compatible with the wireclient it requires to get configured with a dropbox token similar to the wireclient.configure

when the remotestorage.backend was set to ‘dropbox’ it will initialize and resets remoteStorage.remote with remoteStorage.dropbox

for compability with the public folder the getItemURL function of the BaseClient gets highjackt and returns the dropbox share-url

to connect with dropbox a connect function is provided

known issues : files larger than 150mb are not suported for upload folders with more than 10.000 files will cause problems to list content-type is guessed by dropbox.com therefore they aren’t fully supported dropbox preserves cases but not case sensitive share_urls and therfeor getItemURL is asynchronius , which means getItemURL returns usefull values after the syncCycle

Summary
RemoteStorage.DropboxWORK IN PROGRESS, NOT RECOMMENDED FOR PRODUCTION USE
Functions
fetchDeltathis method fetches the deltas from the dropbox api, used to sync the storage here we retrive changes and put them into the _revCache, those values will then be used to determin if something has changed.

Functions

fetchDelta

fetchDelta: function()

this method fetches the deltas from the dropbox api, used to sync the storage here we retrive changes and put them into the _revCache, those values will then be used to determin if something has changed.

fetchDelta: function()
this method fetches the deltas from the dropbox api, used to sync the storage here we retrive changes and put them into the _revCache, those values will then be used to determin if something has changed.
Close