Pwd Method (FTP)


10.2, PLBCMP GUI Only

 

The Pwd method retrieves the current working directory of the FTP server. This method uses the following format:

 

[label]

{object}.Pwd

[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 current working directory.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The EOS flag is set to 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 Put Method (FTP) Rename Method (FTP)