decorative banner

Previous | Next               Table Of Contents > 3 File transfer commands > 3.8 Non RFC959 compliant FTP servers

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.

The syntax is

setnlst;

unsetnlst;

Some examples are

setnlst; #enable name-only listing

unsetnlst; #disable name-only listing


Previous | Next