Integration Server 10.5 | Built-In Services Reference Guide | Client Folder | Summary of Elements in this Folder | pub.client.ftp:cdls
 
pub.client.ftp:cdls
WmPublic. Changes the working directory on the FTP server and retrieves a list of file names. (This service corresponds to the standard FTP commands cd dirpath and ls namePattern.)
Input Parameters
sessionkey
String Unique key for the current FTP session. The sessionkey is returned by the pub.client.ftp:login service.
dirpath
String Directory to which you want to switch on the FTP server (for example, pub).
filenamepattern
String Optional. Pattern that specifies the file names to list (for example, *.txt).
orderby
String Optional. The order of the returned file list. Set to:
*none to send an NLST command to the remote FTP server. This is the default.
*timestamp to return the list in order of the timestamp. Sends an NLST -t command to the remote FTP server.
Note:
The -t command is not part of the RFC959 standard. Some FTP servers may not support this command. Servers that support this command may return the results in either ascending or descending order of creation time.
Output Parameters
dirlist
String List List of file names matching filenamepattern.
returncode
String Standard FTP protocol return code.
returnmsg
String Standard FTP protocol return message.
logmsg
String FTP log messages for the entire user session.