Poster of Linux kernelThe best gift for a Linux geek
FtpDir

FtpDir

Section: C Library Functions (3) Updated: 06 November 1997
Local index Up
 

NAME

FtpDir - Performs a verbose directory.  

SYNOPSIS

#include <ftplib.h>

int FtpDir(const char *outputfile, const char *path,

netbuf *nControl);
 

PARAMETERS

outputfile
Name of a local file to receive the directory listing.
path
File specification to pass to remote 'ls'.
nControl
A handle returned by FtpConnect().
 

DESCRIPTION

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.  

RETURN VALUE

Returns 1 if successful or 0 on error.


 

Index

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
RETURN VALUE

This document was created by man2html, using the manual pages.
Time: 21:46:23 GMT, April 16, 2011