Syntax and Parameters 5-17
MX2A137REFGD Revision A MX2 Reference Guide
You may specify multiple filename pairs, which may be separated by
other XFER options.
You must observe the following conventions when using the S2 option.
Failure to conform may result in errors.
• You must specify the S2 command ahead of any filenames.
• When specifying dual filenames, you must separate the
filenames by a single space. The first filename in the pair is
what the sender uses, and the second filename is what the
sender will transmit to the receiver. If you use more than one
space, all spaces after the first will be included as part of the
receiver’s filename.
• You may specify drive and path components for either filename
in a pair. However, you cannot specify just a drive and path;
that is, the actual name of the file must be included in both
filenames.
Correct examples:
C:\> xfer /zs2 file1 file2
C:\> xfer /zs2 c:\data\file1 d:\file2
C:\> xfer /zs2 c:\data\file1 d:\file1 c:\yourfile myfile
C:\> xfer /zs2 file1 data1 /b115200 file2 data2
Incorrect examples:
C:\> xfer /zs2 file1 /b115200 file2
C:\> xfer /zs2 file1 file2
C:\> xfer /zs2 file1[TAB]file2
C:\> xfer /z file1file2 /s2
C:\> xfer /zs2 file1d:\
In the second incorrect example, the additional spaces would be included
in the receiver’s filename. This is generally wrong, but it may be correct
if that is the intended result. The third incorrect example is invalid
because the filenames must be separated by a single space; no other
white-space character can be used. This mistake most often occurs when
using response files (see @file).
Note: If a filename is specified on the receiver’s side, that filename
will override whatever filename the sender transmits to the
receiver.