dropBoxCFC - DropBox API

2010 September 08
tags: Projects
by Big Mad Kev

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/

 

| View count: 29140
3 Responses leave one →
  1. dom
    Sep 8, 2010 at 10:02 AM

    time well spent , good job bigmadkev ,

  1. Gary Fenton
    Sep 8, 2010 at 8:44 PM

    I saw this and thought "this is cool, but what can I do with it?" Then I realised that for months I'd been putting PDFs on a website by dropping them into my dropbox, RDP'ing to the data centre and copying the files to the web folder. So your CFC is very interesting, Kev. It would be nice if the API could flag new files that have recently been added, a bit like the Dropbox desktop client.

  1. Big Mad Kev
    Sep 23, 2010 at 8:23 AM

    @Dom Thanks Matey @Gary You can get a Hash of the Directory and store this and then check again to see if there is a difference. I'll need to play more on how this works but that is there in the API

Leave a Reply