cern-fts / gfal2-dropbox Goto Github PK
View Code? Open in Web Editor NEWGFAL2 Dropbox Plugin
License: Apache License 2.0
GFAL2 Dropbox Plugin
License: Apache License 2.0
Plugin for GFAL2 to access data stored in Dropbox.
Hi Alejandro,
I couldn't find the Dropbox plugin at https://gitlab.cern.ch/groups/dmc, so I post the issue/suggestion here. A few days ago, the new dropbox API v2 was finally released.
https://blogs.dropbox.com/developers/2015/11/dropbox-api-v2-launches-today/
I think there's not that much to do in order to adapt the changes.
Besides, I cannot get the gfal python bindings working for the dropbox plugin. I use
ctx.set_opt_string("DROPBOX", "APP_KEY", str(appKey))
ctx.set_opt_string("DROPBOX", "APP_SECRET", str(appSecret))
ctx.set_opt_string("DROPBOX", "ACCESS_TOKEN", str(accessToken))
# no more access token secrets in oauth2
#ctx.set_opt_string("DROPBOX", "ACCESS_TOKEN_SECRET", str(accessTokenSecret))
to add the auth data to the transfer parameters. When creating an "App" in Dropbox, it automatically uses oauth2 authentication which hasn't ACCESS_TOKEN_SECRET's anymore (https://www.dropbox.com/developers-v1/core/docs), which leads to errors thrown by https://github.com/cern-it-sdc-id/gfal2-dropbox/blob/c8f7dc418e401e9cc3c0715575e266751081e6cd/src/gfal_dropbox_oauth.c#L45
Could you provide a minimal example showing the dropbox plugin usage in python? I'd really appreciate that =)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.