webDav.exists(serverUrl, userName, password = NA, remoteLocation)
The password is not encrypted when it is sent from the client to the server. You can omit the password parameter if server does not require one.
TRUE
if the specified folder exists; otherwise, it returns
FALSE
.
Returns an empty vector if a file is specified instead of a folder.
## Not run: ## userName <- "johndoe" ## password <- "mypassword" ## serverUrl <- "http://myserver:8080" ## webdavRoot = paste(serverUrl, "/SPServer/webdav", sep = "") ## resultsFolder <- paste(webdavRoot, "/results", sep = "") ## ## webDav.exists(serverUrl, userName, password, resultsFolder) ## End(Not run)