Application Integration (On-Premises) : Integration Server Built-In Services : Client Folder : pub.client.sftp:ls
pub.client.sftp:ls
WmPublic. Retrieves the remote directory listing of the specified path. If path is not specified, the pub.client.sftp:ls service retrieves the file listing of the current remote directory. The pub.client.sftp:ls service also retrieves additional details such as permissions and ownership information.
Input Parameters
sessionKey
String Unique key for the current SFTP session. The sessionKey parameter is returned by the pub.client.sftp:login service.
path
String Optional. Absolute or relative path of the remote directory. If no path is specified, the pub.client.sftp:ls service retrieves the directory listing of the current remote directory.
You can use the wildcard characters asterisk (*) and question mark (?) after the last slash mark (/) to view all remote directories that match the specified path.
Output Parameters
returnCode
String Standard SFTP protocol return code.
returnMsg
String Text message describing the return code.
dirList
String List List of directories matching the pattern specified in the path parameter.
Usage Notes
You cannot execute SFTP commands in parallel using the same session key.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback