Poster of Linux kernelThe best gift for a Linux geek
FtpGet

FtpGet

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

NAME

FtpGet - Retreive a file from the remote system.  

SYNOPSIS

#include <ftplib.h>

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

char mode, netbuf *nControl);
 

PARAMETERS

output
Name of a local file to receive the contents of the remote file.
path
Name of remote file to be retrieved.
mode
Specifies the transfer mode as FTPLIB_ASCII or FTPLIB_IMAGE.
nControl
A handle returned by FtpConnect().
 

DESCRIPTION

FtpGet() copies the contents of a remote file to a local file.  

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