Binary Method (FTP)


10.2, PLBCMP GUI Only

 

The Binary method sets the binary file transfer mode. The binary mode transmits all eight bits per byte and thus provides less chance of a transmission error. This mode must be used to transmit files other than ASCII files and is the default file transfer mode used for the FTP object. This method uses the following format:

 

[label]

{object}.Binary

[GIVING {return}]

 

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 failure values for the execution of the method.

Flags Affected: OVER, ZERO

Note the following:

  1. The ZERO flag is always set to be TRUE for this method.

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

 

 

See Also: FTP Control Methods, Method Syntax



PL/B Language Reference Ascii Method (FTP) Cd Method (FTP)