Ubuntu Manpages

FtpNlst

Performs a terse directory.

#include <ftplib.h>

int FtpNlst(const char *output, const char *path,

netbuf *nControl);

Specifies the name of a file to receive the directory listing.
Specifies an argument to 'ls' on the remote system.
A handle returned by FtpConnect().

Performs a short form directory listing of the specified path on the remote system. The results are written to the specified file.

Returns 1 if successful or 0 on error.