ModDate Method (FTP)


10.2, PLBCMP GUI Only

 

The ModDate method retrieves the last-modified time of a file on the FTP server. This method uses the following format:

 

[label]

{object}.ModDate

[GIVING {return}] USING [*RemoteFile=]{remotefile}

 

Where:

label

Optional. A Program Execution Label.

object

Required. A FTP that has been declared.

return

Optional. A Character String Variable that returns the last-modified time of a specified file.

remotefile

Required. A Character String Variable or string literal that specifies the file name that exists on the FTP server.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The EOS flag is set to be TRUE if the {return} variable is too small and the data must be truncated.

  2. The OVER and ZERO flags are always set to the FALSE state.

  3. The {return} variable is set to a NULL variable if there was an error detected.

  4. 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



PL/B Language Reference MkDir Method (FTP) Put Method (FTP)