Description Usage Arguments Value See Also Examples
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.
1 2 | dropbox_share(cred, file = NULL, curl = getCurlHandle(),
...)
|
cred |
An object of class DropboxCredentials with Dropobox specific credentials. |
file |
Path to the file or folder you want a shareable link to. |
curl |
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.
1 2 3 4 5 6 7 8 9 | ## 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'
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.