dropbox_move: Move files within Dropbox

Description Usage Arguments Value See Also Examples

Description

Allows users to move files or folders inside the dropbox storage.

Usage

1
2
  dropbox_move(cred, from_path = NULL, to_path = NULL,
    verbose = FALSE, curl = getCurlHandle(), ...)

Arguments

cred

Specifies an object of class DropboxCredentials with Dropobox specific credentials.

from_path

Path to file or folder to be copied, relative to root.

to_path

Path to destination, including the new name for the file or folder, relative to 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).

verbose

default is FALSE. Set to true to receive full outcome.

Value

Message on successful completion or error.

See Also

dropbox_copy dropbox_create_folder

related: dropbox_copy

Examples

1
2
3
4
5
## Not run: 
dropbox_move(cred, 'move.txt','test_works')
File succcessfully moved to /test_works/move.txt on Thu, 29 Mar 2012 20:41:45 +0000

## End(Not run)

karthik/rDrop documentation built on May 20, 2019, 7:22 a.m.