List-the-Contents-of-Remote-Directory
Command Description
List all contents of specified directory in the FTP server. That is a list of files and folders
Command Prototype
arrayText = FTP.GetFileAndFolderList(objFTP,sRemotedir)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
objFTP | True | expression | objFTP | Refers to the FTP connection object returned by the "connect to FTP server" command |
sRemotedir | True | string | "" | Specified remote directory in FTP server |
return
arrayText,The variable used to save the output of the command.
Demo