Poster of Linux kernelThe best gift for a Linux geek
FtpRead

FtpRead

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

NAME

FtpRead - Read data from a remote file or directory.  

SYNOPSIS

#include <ftplib.h>

int FtpRead(void *buf, int max, netbuf *nData);  

PARAMETERS

buf
Specifies the address of a buffer where received data will be written.
max
Specifies the size of the user's buffer.
nData
A handle returned by FtpAccess().
 

DESCRIPTION

FtpRead copies up to max bytes of data from the specified data connection and returns it to the user's buffer. If the data connection was opened in ascii mode, no more than one line of data will be returned.  

RETURN VALUE

Returns the number of bytes written to the user's buffer or -1 on error or end of file.


 

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