Hacks Programming

Update: Uploading Files from Raspberry PI to Dropbox

Hello all,

A while ago I wrote about a script I used to upload files to Dropbox from my Raspberry PI. Since then Dropbox has implemented OAuth v2 and gives you the opportunity to generate a token directly from their website.

With that token you can authenticate directly and run commands. You need Dropbox 2.0+ SDK.

Here’s the new script:

 

Code is also available in my bitbucket: https://bitbucket.org/crazyquark/pydropboxutils

Enjoy.

 

P.S.

An older commit had some private keys in there but don’t worry, I deleted the credentials from my Dropbox account so they cannot be used anymore.

Plus, the repo used to be private.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.