Sha256: ec7dbc29aef092046894f60adf4aadb7b9008f56ce467cf8cf82e4ed428af471

Contents?: true

Size: 898 Bytes

Versions: 1

Compression:

Stored size: 898 Bytes

Contents

= DropBox

A simple stop-gap Ruby API for DropBox.  Hopefully DropBox will release a real API soon!

* Don't have a dropbox account?  Well you should!  You can "donate" to this project by signing up with this referral url: https://www.dropbox.com/referrals/NTI0MDI3MzU5

== INSTALL:
* sudo gem install dropbox

== USAGE:

  d = DropBox.new("you@email.com","password!")      #login
  d.list("/")                                       # show directory contents
  d.create_directory("/testdirectory")              # create a remove directory
  d.create("/local/path/to/file.txt","/testdirectory")    # upload a file to the directory
  d.rename("/testdirectory/file.txt","file.txt")    # rename the file
  d.destroy("file.txt")                             # remove the file
  
  d2 = d = DropBox.new("you@email.com","password!", "optional_namespace") # all actions will happen in /optional_namesapce
  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dropbox-0.0.8 README.rdoc