Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
Table of Contents

Anchor
1155345
1155345
Syntax

mode [type={text|binary}] [trim={yes|no}]

Anchor
1155347
1155347
Description

Anchor
1155348
1155348
The mode command sets the current transfer mode.

Anchor
1155349
1155349
The type parameter specifies the current mode type:

  • If text is the current mode type, file transfers are treated as text and codepage translation takes place.
  • If binary is the current mode type, files are transferred as binary.

Anchor
1155352
1155352
The trim parameter specifies whether or not trailing spaces are trimmed (removed) from each record / line in a text transfer.

Anchor
1155353
1155353
Issuing the mode command without parameters displays the current transfer mode.

Anchor
1155354
1155354
Parameters

Parameter

Description

type=text | binary

Sets the type of transfer.

  • If the transfer type is text, UDM performs text translation on the data between the codepages for the primary and secondary servers.
  • If the transfer type is binary, UDM sends the source data over as is, with no translation.

Default is binary when a new session is opened.

trim=yes | no

Sets whether or not to trim trailing spaces during a text transfer.

  • If the value is yes, spaces at the end of each line (record) are removed from the data when it is written.
  • If the value is no, spaces at the end of each line (record) are not removed.

Default is no when a transfer session is initiated.

Anchor
1155376
1155376
Example

Anchor
1155377
1155377
To set the current transfer type to text transfers:

Panel
mode type=text