FtpWrite3
Write data to a remote file.
Usage
#include <ftplib.h>
int FtpWrite(void *buf, int len, netbuf *nData);
Parameters
|
A buffer containing the data to be sent to the remote file. |
|---|---|
|
The number of bytes to be sent from 'buf'. |
|
A handle returned by FtpAccess(). |
Overview
FtpWrite() sends data to a remote file. If the file were accessed in record mode, the necessary conversions are performed.
Return value
Returns the number of bytes sent from the user's buffer or -1 on error.
Releases
10 releases since Debian 2.0 (Hamm); the text changed 1 time.