Happened almost by accident and was very quick and easy, well enough to keep me tapping away for a day. The key proviso is that the interface is command line driven and utilities python (specifically the python SDK 1.4.1).
First Step is to down the necessary additions to the pre-installed pythons (2.4, 2.5 and 2.6 – 2.6 is the default so we stick with that). The sdk build process needs setuptools so download and install:
$ wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz $ tar xzf setuptools-0.6c11.tar.gz $ cd setuptools-0.6c11 $ sudo python setup.py install
Then we do the same with the Dropbox sdk:
$ mget https://www.dropbox.com/static/developers/dropbox-python-sdk-1.4.1.zip $ unzip dropbox-python-sdk-1.4.1.zip $ cd dropbox-1.4.1 $ sudo python setup.py install
The Dropbox python will need to declared as an app to access the Dropbox and we do that here:
Make a note of the app id and secret code to add to the python code later.
Time to test, which we do my editing the cli_client.py in the example directory and adding the two ids and changing the access method to ‘dropbox’