Instruction manual

Syntax and Parameters 5-5
2325A137REFGD Revision B 2325 Reference Guide
filename(s)
Name(s) of the File(s) to Send or Receive
Xmodem
Only one file can be transferred at a time. You can specify the entire
path, including the drive letter. If you do not specify a path, the file is
sent from or received into the current directory. If the directory or file
doesn’t exist on a send, or the directory doesn’t exist on a receive, the
transfer will fail, with a file-open error.
You must include the filename on the command line when receiving a
file. If multiple files are specified for Xmodem, only the first file will be
transferred. All other file names will be ignored.
Zmodem
Zmodem allows up to 256 files to be transferred in one session. You can
specify the entire path for each file, including the drive letter. If you do
not specify a path, the file is sent from or received into the current
directory. If the directory or the file doesn’t exist on a send, or the
directory doesn’t exist on a receive, the transfer will fail, with a file-open
error. DOS accepts only 128 characters on the command line, but you
can use a response file to get around this limitation. (See the @file
option.)
When receiving, the filename does not need to be specified for Zmodem.
Zmodem transfers the name of the file to be sent before sending the file.
(See the S option for information on controlling how Zmodem sends the
filename.) Any filename specified on the receiving end will override the
default name that is sent by the sender.
When multiple files are sent, a one-to-one correspondence is established.
For example, if ten filenames are specified on the sender’s side and five
filenames are specified on the receiver’s side, the first five files
transferred will be received with the names specified on the receiver’s
command line, while the last five files will be received with the names
specified on the sender’s command line (assuming all the files exist).
Each filename on the command line can include its own path.
XFER also recognizes the wildcard characters ? and *. Normal DOS
pattern-matching rules for these characters apply.
Be careful about using wildcards when receiving: XFER expands the
wildcards of the specified filenames and then searches for any matching
patterns in the specified directory. If no matching files are found (in an
empty directory, for instance), then no filenames will be sent to the
Zmodem receive procedures. This may or may not be what you intend.