DirItem Method (FTP)
10.2, PLBCMP GUI Only
The DirItem method retrieves the next item from the last file list retrieved using the Dir method. This method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A FTP that has been declared.
return
Optional. A Character String Variable that returns the data for the next item in the last list of files retrieved using the Dir method.
Flags Affected: EOS, OVER, ZERO
Note the following:
The EOS flag is set to TRUE if the {return} variable is too small and the data must be truncated.
The OVER flag is set to FALSE if the method returns data. The OVER flag is set if there is no more data available.
The ZERO flags are always set to the FALSE state.
The {return} variable is set to a NULL variable if there was an error detected.
See Also: FTP Control Methods, Method Syntax
![]() |