|<< back to sysax.com Product page|
Some legacy FTP servers produce folder content listings in non-standard formats. In these cases, the setnlst command can be used to provide a name-only listing. When a listing is obtained in this manner, only the .name property of each list item is available for use in a foreach loop. Name-only listings may be turned off using the unsetnlst command.
Exhibit 4.26. Example for using the setnlst and unsetnlast commands
setnlst; #enable name-only listing unsetnlst; #disable name-only listing