Over the last week I’ve been playing around with the DropBox API and have created a CFC which deals with the main DropBox API Calls to allow you to:
- Get User Account Info
- Create Folder
- Get metadata on Folders/Files
- Upload / Retrieve Files
- Create Accounts
- get photo Thumbnails
- Copy / Move / Delete files / folders
The test file does all the main features, I’ve not got round to fully document it yet. but between the quick tests / examples and the developer docs it shouldn’t take anyone too long to get upto speed.
Just remember to checkout the authResponse.cfm to store the access tokens for future requests to a users dropbox account, rather then to keep authenticating.
I’ve got a couple of plans in the pipe lines on how to use this and hope to post about them soon. But you could use dropbox as a cheaper alternative to S3
You can get dropBoxCFC from RiaForge here: http://dropbox.riaforge.org/