Retrieve the Contents of a Folder

DESCRIPTION:

Retrieves the contents of a folder on the specified server.

USAGE:

webDav.getFolderContents(serverUrl, userName, password = NA, remoteLocation)

ARGUMENTS:

serverUrl
A character string identifying the server's address (for example: "http://myserver:8080").
userName
A character string containing the identifier (the login name) of user (for example: "johndoe").
password
A character string used to log into the Spotfire S+ server (for example: "myPassword").
remoteLocation
The URL path to the folder on the server. For example, http://myserver:8080/SPServer/webdav.

DETAILS:

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.

VALUE:

returns a vector of character strings representing the names of the files and folders in the the specified server folder. Returns NULL if the folder does not exist on server. Returns an empty vector if a file is specified instead of a folder.

SEE ALSO:

,

EXAMPLES:

## Not run: 
## userName <- "johndoe"
## password <- "mypassword"
## serverUrl <- "http://myserver:8080"
## webdavRoot = paste(serverUrl, "/SPServer/webdav", sep = "")
## resultsFolder <- paste(webdavRoot, "/results", sep = "")
##
## webDav.getFolderContents(serverUrl, userName, password, webdavRoot)
## End(Not run)