User`s guide
FDIRECTORY LOAD STORER
VLOAD and VSTORE can be used with Kermit only in binary mode.
The specific commands for the remote system will depend on the system you are using.
Binary Files
Disk files created by the V+ system are called ASCII files because the files contain only ASCII
characters. V+ application programs (and other computers) can create non-ASCII disk files,
which contain information that is not interpreted as ASCII characters. Such files are often
called binary files.
When Kermit is transferring normal text (ASCII) files, the file contents are not adversely
affected if the eighth bit of a byte is corrupted. For example, the serial line hardware would
affect the eighth bit if parity checking is enabled, since that bit is used for the parity
information.
However, when binary files need to be transferred, the eighth bit of each byte must be
preserved. Thus, the serial line parity must be set to no parity (that is, the serial ports on both
the V+ system and the remote system must be set). Also, the Kermit file mode must be set
to binary.
The parity mode for the V+ serial ports is set with the Adept controller configuration program
(CONFIG_C). You may be able to set the modes on the remote system by performing the
following steps:
1. Go into PASSTHRU mode at the V+ system terminal.
2. Enter a command to the remote system to exit the Kermit program (it may first be
necessary to terminate the server by typing Ctrl+P).
3. Enter a command to the remote system to set the terminal mode to no parity.
4. Enter a command to the remote system to restart the Kermit program.
5. Enter a command to the remote Kermit to set its file mode to binary. For example:
SET FILE TYPE BINARY
6. Enter a command to Kermit to start the remote server.
7. Type Ctrl+C to escape back to the (local) V+ system.
When a binary file is accessed over the Kermit line, the file specified to V+ must have a /B
qualifier. For example, the following command copies the file REMOTE.DAT from the Kermit
line to the local disk drive A:
FCOPY A:local.dat = K>remote.dat/B
NOTE: If the default setting for the remote system's serial line is other than no parity,
and there is no way you can change that setting, it will not be possible to successfully
Kermit Communication Protocol
V+Language User's Guide, v17.0
Page 234










