int InetFTPSendFile (int FTPHandle, const char *localFile, const char *remoteFile, int transferType);
Sends a file to the remote machine over an open FTP connection.
Input | ||
Name | Type | Description |
FTPHandle | integer | A handle returned by the InetFTPLogin or InetFTPLoginEx function. The handle identifies an active FTP connection. |
localFile | const char * | The pathname of the local file to send. The path can be absolute or relative to the current working directory. |
remoteFile | const char * | The pathname of the destination file on the remote machine. The path can be absolute or relative to the current working directory on the remote machine. |
transferType | integer | The mode in which the file is to be transferred. The following modes are valid:
|
Name | Type | Description |
result | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |