powered by
Returns a list containing the URL to a zipped copy of a folder or a direct link in case input is a file. Also returns a date when link will expire.
dropbox_share(cred, file = NULL, curl = getCurlHandle(), ...)
An object of class DropboxCredentials with Dropobox specific credentials.
Path to the file or folder you want a shareable link to.
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)
optional additional curl options (debugging tools mostly).
list with url to file or zipped folder and expiry date.
dropbox_media
# NOT RUN { dropbox_share(cred, 'test_folder') > dropbox_share(db_cred, 'test_works/test.csv') $url [1] 'http://db.tt/vlwCtRxr' $expires [1] 'Sat, 28 Apr 2012 20:55:42 +0000' # }
Run the code above in your browser using DataLab