NAME¶
FtpNlst - Performs a terse directory.
SYNOPSIS¶
#include <ftplib.h>
int FtpNlst(const char *output, const char *path,
netbuf *nControl);
PARAMETERS¶
- output
- Specifies the name of a file to receive the directory
listing.
- path
- Specifies an argument to 'ls' on the remote system.
- nControl
- A handle returned by FtpConnect().
DESCRIPTION¶
Performs a short form directory listing of the specified path on the remote
system. The results are written to the specified file.
RETURN VALUE¶
Returns 1 if successful or 0 on error.