BINARY
Purpose
Use the BINARY subcommand to change the file transfer type to Image.
Operands
- Variable
- Specifies that files are stored as variable-record (V) format files.
- Fixed record_length
- Specifies that files are stored as fixed-record format (F), with records of length record_length.
Usage Notes
- To specify how a binary file is stored on the local host, use the BINARY subcommand with the VARIABLE or FIXED operand before a GET (or MGET) subcommand is issued to retrieve a file. Note that when the BINARY subcommand is used in this manner, this has the same effect as issuing separate TYPE IMAGE and LOCSITE subcommands.
- For a z/VM® foreign
host where the FTP server has been configured to perform automatic
file translation, the BINARY subcommand has no effect on file translation —
the server continues to determine whether EBCDIC-ASCII translation
should occur based only on file extension. However, the VARIABLE and
FIXED operands still affect how a transferred file is stored on the
local VM system.
To enable or disable automatic file translation for files transferred using the Image transfer type, use the AUTOTRANS operand of the SITE subcommand. For information, see SITE.
