There are two File Transfer commands:

UPLOAD <protocol> <path_name>
DOWNLOAD <protocol> <path_name>

The permitted values of <protocol> are

       Xmodem          basic Xmodem, CRC or checksum
       Xmodem-1k       basic Xmodem-1k, CRC or checksum
       Xmodem-1k-G     'streaming' Xmodem-1k, CRC
       Ymodem          basic 'true' Ymodem
       Ymodem-G        'streaming' Ymodem
       BYmodem         basic 'true' Ymodem, Batch
       BYmodem-G       'streaming' Ymodem, Batch
       Zmodem          Zmodem
       ASCII           plain text, no protocol
       CONFIG          the external protocol driver
                       configured for the current Virtual
                       Port.

Letters within protocol names may be any mixture of upper
and lower case but hyphens must be correctly placed.

If the <protocol> parameter is omitted, it defaults to
Zmodem.

The UPLOAD path_name may include wildcard characters to
cause the upload of groups of similarly-named files.

The character ! (exclamation mark) may be used to denote
the default Upload Directory, as set up in Scripta
Configuration.

For example, the notation !\*.* will upload all files
which currently exist in the default upload directory.

The DOWNLOAD 'path_name' is a directory name for Batch
protocols (in fact, it will usually be ! to signify the
default Download Directory), or a file name for
'single-file' protocols.

When using Batch protocols such as Ymodem-G Batch or
Zmodem, the protocol driver will obtain the names of files
downloaded from the driver on the remote computer and will
place them in the directory you specify in the DOWNLOAD
command.

If the <path_name> parameter is omitted then it defaults
to !\*.* for UPLOAD and to ! for DOWNLOAD.

For UPLOAD only, <path_name> may take the form

                     .<file_name>

<file_name> must be the name of an ASCII text file which
contains the path names of all the files to be uploaded.
Each path name in the file must appear on a separate line.

Some commonly used command formats are

UPLOAD

       uploads all files in the default upload directory,
       using the Zmodem protocol.

UPLOAD <full_path_name_of_file>

       uploads the named file using the Zmodem protocol

UPLOAD .<path_name_of_file_containing_a_file_name_list>

       uploads all the files listed in the named file.

DOWNLOAD

       downloads all files sent by the remote computer
       into the default download directory, using the
       Zmodem protocol.

DOWNLOAD Xmodem <file_name>

       downloads the named file, using the Xmodem
       protocol.
