Directory Listing VI

Owning Palette: WebDAV Synchronous VIs

Requires: Full Development System

Returns a list of all directories and files within the directory you specify in relative uri.

 Add to the block diagram  Find on the palette
session handle specifies the unique reference to the WebDAV session.
relative uri specifies the uniform resource identifier (URI) of the file or directory relative to the host uri prefix that you wire to the Open Session VI. A URI can be a uniform resource locator (URL), a uniform resource name (URN), or both. Format relative uri as directory/subdirectory/filename.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
session handle out returns the unique reference to the WebDAV session.
directory list returns an array of clusters where each element contains the following information about the specified directory or a subdirectory within the specified directory.
type returns the Multipurpose Internet Mail Extension (MIME) type of the file or directory. type may return an empty value if the server does not specify a MIME type.
size returns the size, in bytes, of the file. For directories, size returns a value of 0.
last modification returns the time and date of the last time the file or directory was modified.
display name returns the name of the file or directory on the server.
uri specifies the absolute uniform resource identifier (URI) of the file or directory. A URI can be a uniform resource locator (URL), a uniform resource name (URN), or both. The server may return either a relative or absolute URI.
file list returns an array of all files within the specified directory.
type returns the Multipurpose Internet Mail Extension (MIME) type of the file or directory. type may return an empty value if the server does not specify a MIME type.
size returns the size, in bytes, of the file. For directories, size returns a value of 0.
last modification returns the time and date of the last time the file or directory was modified.
display name returns the name of the file or directory on the server.
uri specifies the absolute uniform resource identifier (URI) of the file or directory. A URI can be a uniform resource locator (URL), a uniform resource name (URN), or both. The server may return either a relative or absolute URI.
error out contains error information. This output provides standard error out functionality.