FtpDir
Performs a verbose directory.
- Provided by: ftplib-dev (Version: 3.1-1-9build1)
- Source: ftplib
- Report a bug
Performs a verbose directory.
#include <ftplib.h>
int FtpDir(const char *outputfile, const char *path,
Sends a LIST command to the server with the specified path. The response to this is usually a long format directory listing which will be written to the file named in outputfile. If outputfile is specified as NULL, the list will be written to stdout.
Returns 1 if successful or 0 on error.