Learn R Programming

rdav (version 0.3.0)

wd_isdir: Checks if the resource on WebDAV is a directory

Description

Checks if the resource on WebDAV is a directory

Usage

wd_isdir(req, directory, silent = FALSE)

Value

TRUE if it is a directory, FALSE else

Arguments

req

request handle obtained from wd_connect

directory

path to directory

silent

if FALSE a warning is given if the directory does not exists

Examples

Run this code
if (FALSE) {

wd_isdir(r, "testfile.R") # FALSE
wd_isdir(r, "mydirectory")   # TRUE

}

Run the code above in your browser using DataLab