path | String Optional. Absolute or relative path of the remote directory. If no path is specified, the 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. |
returnCode | String Standard SFTP protocol return code. |
returnMsg | String Text message describing the return code. |
dirList | Document List of directories matching the pattern specified in the path parameter. This document has the following parameters: fileName: String Specifies the name of the remote file. . fileSize: String Specifies the size of the remote file. permissions: String Specifies the access permission of the file (read, write, or execute). lastAccessTime: String Specifies the time when the file was last accessed. lastModifiedTime: String Specifies the time when the file was last modified. uid: String Specifies the user ID of the file owner. gid: String Specifies the group ID associated with the file. longName: String Specifies the long name of the ls entry. It contains all the parameters separated by a space. |