Home Page
        Orders     Downloads     Support     Contact     Deutsch
ZOC Terminal is a professional SSH Client and Terminal Emulator for Windows and macOS.
PyroBatchFTP Online Help Topic:

Script Commands → ListDir

ListDir <options> local|remote <file pattern>, [<dir pattern>,] <filename>

 

This command lists all local or remote files matching a given file pattern and writes a list of file names in the given file name (e.g. for inspection by another program).

 

In regard to options, ListDir also supports -r, the -o, -y and -d parameters to filter files based on date/time as described with the GetSync command (other GetSync options are not supported).

See also: GetSync.

 

Examples:

 

ListDir remote "*.xml", "C:\DATA\XMLFILES.TXT"

ListDir -r remote "*", "C:\DATA\FILELST.TXT"

 
← Back to Script Commands

 

Downloads
Orders
Contact
Support
Terms of Use
Privacy Policy
pixel