LastResponse Method (FTP)


10.2, PLBCMP GUI Only

 

The LastResponse method retrieves the last-response from the FTP server. This method uses the following format:

 

[label]

{object}.LastResponse

[GIVING {return}]

 

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 response from the 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.

 

 

See Also: FTP Control Methods, Method Syntax



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