mode - UDM Command
Syntax
mode [type={text|binary}] [trim={yes|no}]
Description
The mode command sets the current transfer mode.
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.
The trim parameter specifies whether or not trailing spaces are trimmed (removed) from each record / line in a text transfer.
Issuing the mode command without parameters displays the current transfer mode.
Parameters
Parameter |
Description |
type=text | binary |
Sets the type of transfer.
Default is binary when a new session is opened. |
trim=yes | no |
Sets whether or not to trim trailing spaces during a text transfer.
Default is no when a transfer session is initiated. |
Example
To set the current transfer type to text transfers: