debian man page for ftpread

Query: ftpread

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FtpRead(3)						     Library Functions Manual							FtpRead(3)

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. FTPlib 06 November 1997 FtpRead(3)
Related Man Pages
buf_mem_grow(3) - redhat
ftpoptions(3) - debian
roar_vs_write(3) - debian
t_rcvconnect(3) - osf1
t_snddis(3) - osf1
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Detecting unused variables...
Find columns in a file based on header and print to new file
Weird 'find' results
My first PERL incarnation... Audio Oscillograph