DirMove

DirMove 1:

Moves a directory on the server.

Syntax

METHOD DirMove : BOOL
VAR_INPUT
    fbFtpConnection : REFERENCE TO FB_FtpConnection;
    sDirectory : STRING;
    sTargetDirectory : STRING;
END_VAR

DirMove 2: Return value

Name

Type

Description

DirMove

BOOL

Returns TRUE when the method has completed. Whether the action was successful can be read from the bError variable of the function block.

DirMove 3: Inputs

Name

Type

Description

fbFtpConnection

FB_FtpConnection

References the server connection to be used for the operation.

sDirectory

STRING

Path to the source directory.

sTargetDirectory

STRING

Path to the target directory to which the source directory is to be moved.