Learn R Programming

rdav (version 0.3.0)

wd_mkdir: Creates a directory (collection) on WebDAV server

Description

When creating a subdirectoy, all parent directories have to exist on the server.

Usage

wd_mkdir(req, directory)

Value

TRUE on success, FALSE on failure (invisibly)

Arguments

req

request handle obtained from wd_connect

directory

directory path on server

Examples

Run this code
if (FALSE) {

# creates 'newdir' inside the subdirectory 'existing/directory'
wd_mkdir(r, "existing/directory/newdir")

}

Run the code above in your browser using DataLab