FtpPut3
Send a file to the remote system.
Usage
#include <ftplib.h>
int FtpPut(const char *input, const char *path,
char mode, netbuf *nControl);
Parameters
|
Specifies the name of a local file to be transfered to the server. |
|---|---|
|
Specifies the name to be given to the file on the remote system. |
|
Specifies the transfer mode as FTPLIB_ASCII or FTPLIB_IMAGE. |
|
A handle returned by FtpConnect(). |
Overview
FtpPut() transfers a local file to the remote system.
Return value
Returns 1 if successful or 0 on error.
Releases
Unchanged in 10 releases since Debian 2.0 (Hamm).