<< back to sysax.com Product page

3.8. Non RFC959 compliant FTP servers

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 3.23. Syntax of commands setnlst and unsetnlast



Exhibit 3.24. Example for using the setnlst and unsetnlast commands

setnlst; #enable name-only listing

unsetnlst; #disable name-only listing