spserver.file.properties(url)
This will cause an error if the URL does not exist on the WebDAV server. Otherwise, this will return a list containing the following elements:
name
:
the name of the file or directory.
isFolder
:
a logical value that is
TRUE
if the URL specifies a directory.
length
:
if the URL is a file, the length in bytes.
creationDate
:
a timeDate object giving the creation date of the file.
lastModifiedDate
:
a timeDate object giving the last modified date and time of the file.
# spserver.file.properties(spserver.url("foo"))