Learn R Programming

rdav (version 0.3.0)

wd_move: Moves a file or directory on the server

Description

Moves a file or directory on the server

Usage

wd_move(req, source, target, overwrite = TRUE)

Value

TRUE on success, FALSE on failure (invisibly)

Arguments

req

request handle obtained from wd_connect

source

path of the source on the server

target

path of the target on the server

overwrite

overwrites files when TRUE (default)

Examples

Run this code
if (FALSE) {

wd_move(r, "testfile.R", "testfile_old.R")

}

Run the code above in your browser using DataLab