SMB_LIST

The SMB_LIST Activity returns a list of Directories or folders contained in a specified directory on a file server.

INPUT Parameters:

CONNECTHANDLE: Required

The Connection handle is returned from the SMB_Connect activity. If a connection is not previously established, the Activity will return an error and processing will be abandoned

PATH: Required

Path to Directory to get contents.

CONTENT: Required

Must be specified as *FILES to view files, *Directories (or *FOLDERS) to return directories or *BOTh to return all contents. Default is *FILES

Output Parameters

CONTENTNAME: Optional

Returns a list containing the name of the file or directory.

CONTENTPATH: Optional

Returns a list containing the path and name of file or directory relative to the connected file server.

CONTENTTYPE: Optional

Returns a list containing content types (file or directory)

CONTENTDATE: Optional

Returns a list containing the date stamps of the directory contents.

CONTENTTIME: Optional

Returns a list containing the time stamps of the directory contents.

CONTENTSIZE: Optional

Returns a list containing file sizes in bytes.