Size Method (FTP)
10.2, PLBCMP GUI Only
The Size method retrieves the file size of a file on the FTP server. This method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A FTP that has been declared.
return
Optional. A Numeric Variable that returns the size of the specified file that exists on the FTP server.
remotefile
Required. A Character String Variable or string literal that specifies the file name that exists on the FTP server.
Flags Affected: OVER, ZERO
Note the following:
The ZERO flag is set if the {return} value is zero.
The OVER flag is set if the {return} variable is too small to receive the pass/fail value without being truncated.
Debug log entries are generated if the debug logging is enabled. See the FTP Debug Method description to enable debug logging.
See Also: FTP Control Methods, Method Syntax
![]() |