wd_copy: Copies a file or directory on the WebDAV server

View source: R/webdav.R

wd_copyR Documentation

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)

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)

Value

TRUE on success, FALSE on failure (invisibly)

Examples

## Not run: 

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


## End(Not run)

rdav documentation built on Oct. 15, 2025, 3 p.m.