Performs a list operation similar to UNIX ls on a remote host, with the following restrictions on the input file pattern.
A filePattern must start with an absolute path, such as C:\ or /.
A filePattern can contain . or .. as directory names, and expands * and ? wildcards.
A filePattern cannot contain the wildcard expressions .*, .?, or ..* as directory or file names.
Bracketed wildcards, such as file[123].txt, are not supported.
You cannot use .. to create paths that do not exist. For example, the path /temp/../../a.txt refers to a path that is above the root directory. This is an invalid path that causes the operation to fail.
ListDirectoryContentsInputType parameters:
Throws:
Returns: