Request a list of files and directories in the current directory on the FTP server.
First available in version 3.0 build 2039.
pattern - [Optional] - A wildcard pattern that can be used to exclude files from the listing. Default value is *.
result - The XML directory list is returned as a simple collection of XML nodes.
This method can only be called asynchronously.
The XML directory list is returned as a simple collection of XML nodes.
<file name="index.html" size="19472" date="12/17/2002 3:03:00 PM" path=""/>
<directory name="examples" size="512" date="11/9/2002 12:48:00 AM" path=""/>
<directory name="plugins" size="512" date="11/9/2002 12:50:00 AM" path=""/>
- name name of the file (Note: on unix systems, case is important)
- size size of the file in bytes
- date date and time in mm/dd/yyyy hh:mm:ss AM|PM format
- path path to the file (always blank in this version of the plugin)
var return_obj = ssCore.FTP.getXMLDirList();