powered by
Use this function to copy files or folders within your Dropbox. Destination must be a folder otherwise the function will return an error.
dropbox_copy(cred, from_path = NULL, to_path = NULL, curl = getCurlHandle(), ...)
An object of class DropboxCredentials with Dropobox specific credentials.
Path to file or folder to be copied, relative to dropbox root.
Path to destination, including the new name for the file or folder, relative to dropbox root.
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
dropbox_move
# 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 # }
Run the code above in your browser using DataLab