standard.net.ftp.FtpPut

FtpPut is available since version 1.0.

Prototype:

boolean FtpPut(string local_filename, string path, number mode, number connection_handle)

Parameters

local_filename
the local file to send to the server
path
the ftp file path to write to
mode
the ftp mode: FTPLIB_ASCII or FTPLIB_IMAGE
connection_handle
the connection handle as returned by FtpConnect.

Description:

Issue a PUT command and send data from input.

Return value:

Returns true if succeeded, false if failed.