MkDir Method (FTP)


10.2, PLBCMP GUI Only

 

The MkDir method creates a directory on the the FTP server. This method uses the following format:

 

[label]

{object}.MkDir

[GIVING {return}] USING [*Path=]{path}

 

Where:

label

Optional. A Program Execution Label.

object

Required. A FTP that has been declared.

return

Optional. A Numeric Variable that returns the pass or fail value for the operation of this method.

path

Required. A Character String Variable or string literal that specifies the directory/path that should be created on the system where the FTP server is executing.

Flags Affected: OVER, ZERO

Note the following:

  1. The ZERO flag is set if the {return} value is zero which indicates that the method executed successfully.

  2. The OVER flag is set to be TRUE if the {return} Numeric variable is too small to receive the pass/fail value without being truncated.

  3. Debug log entries are generated if the debug logging is enabled. See the FTP Debug Method description to enable debug logging.

  4. If this method fails, the {return} variable contains a value of two (2).

 

 

See Also: FTP Control Methods, Method Syntax



PL/B Language Reference LastResponse Method (FTP) ModDate Method (FTP)