FileMove

Moves a file on the server.
Syntax
METHOD FileMove : BOOL
VAR_INPUT
fbFtpConnection : REFERENCE TO FB_FtpConnection;
sFilePath : STRING;
sTargetDirectory : STRING;
END_VAR
Return value
Name | Type | Description |
---|---|---|
FileMove | BOOL | Returns TRUE when the method has completed. Whether the action was successful can be read from the bError variable of the function block. |
Inputs
Name | Type | Description |
---|---|---|
fbFtpConnection | References the server connection to be used for the operation. | |
sFilePath | STRING | Path to the source file on the server. |
sTargetDirectory | STRING | Path to the target directory to which the file is to be moved. |