.\" This manual page was generated from the file FtpWrite.html. .TH FtpWrite 3 "06 November 1997" FTPlib .SH NAME FtpWrite \- Write data to a remote file. .SH "SYNOPSIS" .B "#include " .br .sp .BI "int FtpWrite(void *" buf ", int " len ", netbuf *" nData ");" .SH "PARAMETERS" .TP .B "buf" A buffer containing the data to be sent to the remote file. .TP .B "len" The number of bytes to be sent from 'buf'. .TP .B "nData" A handle returned by FtpAccess(). .SH "DESCRIPTION" .LP FtpWrite() sends data to a remote file. If the file were accessed in record mode, the necessary conversions are performed. .SH "RETURN VALUE" .LP Returns the number of bytes sent from the user's buffer or \-1 on error.