Description Usage Arguments Value See Also Examples
Use this function to copy files or folders within your Dropbox. Destination must be a folder otherwise the function will return an error.
1 2 | dropbox_copy(cred, from_path = NULL, to_path = NULL,
curl = getCurlHandle(), ...)
|
cred |
An object of class DropboxCredentials with Dropobox specific credentials. |
from_path |
Path to file or folder to be copied, relative to dropbox root. |
to_path |
Path to destination, including the new name for the file or folder, relative to dropbox root. |
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).. |
Message with success or error.
dropbox_move dropbox_create_folder
related: dropbox_move
1 2 3 4 5 | ## Not run:
> dropbox_copy(cred, 'copy.txt', 'Public')
/copy.txt succcessfully copied to /Public/copy.txt on Thu, 29 Mar 2012 20:37:51 +0000
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.