Upload

Starts an upload operation.
Syntax
METHOD Upload : BOOL
VAR_INPUT
    fbFtpConnection        : REFERENCE TO FB_FtpConnection;
    sLocalSourcePath       : STRING;
    sServerTargetDirectory : STRING;
END_VAR
 Return value
Name  | Type  | Description  | 
|---|---|---|
Upload  | BOOL  | Returns TRUE when the method has completed. Whether the action was successful can be read from the bError variable of the function block.  | 
nTransferHandle  | UDINT  | Handle for the transfer operation.  | 
 Inputs
Name  | Type  | Description  | 
|---|---|---|
fbFtpConnection  | References the server connection to be used for the operation.  | |
sLocalSourcePath  | STRING  | Path to the local source. Can be a file path or a directory path. Supports wildcards.   | 
sServerTargetDirectory  | STRING  | Path to the target directory on the server.  |