Write data to a remote file.
#include <ftplib.h> int FtpWrite(void *buf, int len, netbuf *nData);
FtpWrite() sends data to a remote file. If the file was accessed in record mode, the necessary conversions are performed.
Returns the number of bytes sent from the user's buffer or -1 on error.