ftplib_put

Send a file to the remote system.

SYNOPSIS

#include <ftplib.h>
int ftplib_put(const char *input, const char *path, char mode, netbuf *nbp);

PARAMETERS

input
Specifies the name of a local file to be transfered to the server.
path
Specifies the name to be given to the file on the remote system.
mode
Specifies the transfer mode as FTPLIB_ASCII or FTPLIB_IMAGE.
nbp
A handle returned by ftplib_connect().

DESCRIPTION

ftplib_put() transfers a local file to the remote system.

RETURN VALUE

Returns 1 if successful or 0 on error.

$Id: ftplib_put.html,v 1.1 2002/12/02 03:12:52 te Exp $