Learn R Programming

rdav (version 0.3.0)

wd_copy: Copies a file or directory on the WebDAV server

Description

Copies a file or directory on the WebDAV server

Usage

wd_copy(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_copy(r, "testfile.R", "testfile_old.R")

}

Run the code above in your browser using DataLab