FtpWrite(3)

NAME

FtpWrite - Write data to a remote file.

SYNOPSIS

#include <ftplib.h>

int FtpWrite(void *buf, int len, netbuf *nData);

PARAMETERS

buf A buffer containing the data to be sent to the remote file.

len The number of bytes to be sent from 'buf'.

nData A handle returned by FtpAccess().

DESCRIPTION

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.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout