File transfer (Tera Term setup file)

# Auto renaming of a received file to avoid overwriting

When a file is received by using the Kermit, Zmodem, BPlus or Quick-VAN protocol, the file name is given by the remote host. If the same file name already exists in the local disk, the existing file is overwritten by the received file. To avoid this overwriting, edit the AutoFileRename line in the [Tera Term] section of the setup file like the following:

    AutoFileRename=on

Then, the received file is renamed automatically to avoid overwriting. For example, if the received file is "abc.txt" and the same file name already exists in the local disk, the received file is renamed to be "abc1.txt".

    Default:
    AutoFileRename=on

# Auto activation of B-Plus Receive

To enable the auto activation of the B-Plus Receive command, edit the BPAuto line in the [Tera Term] section of the setup file like the following:

    BPAuto=on

If you run the B-Plus Send command in the host, the B-Plus Receive command of Tera Term is automatically activated.

    Default:
    BPAuto=off

# Escaping all control characters in the B-Plus protocol

To escape all control characters in the B-Plus file transfer, edit the BPEscCtl line in the [Tera Term] section of the setup file like the following.

    BPEscCtl=on

    Default:
    BPEscCtl=off

# B-Plus log

To log data packets of B-Plus to the file BPLUS.LOG, edit the BPLog line in the [Tera Term] section of the setup file like the following:

    BPLog=on

    Default:
    BPLog=off

# Kermit log

To log data packets of Kermit to the file KERMIT.LOG, edit the KmtLog line in the [Tera Term] section of the setup file like the following:

    KmtLog=on

    Default:
    KmtLog=off

# Kermit Long Packet

To transmit and receive extended-length packets of Kermit, edit the KmtLongPacket line in the [Tera Term] section of the setup file like the following:

    KmtLongPacket=on

However, the kermit server must support this feature.

    Default:
    KmtLongPacket=off

# Kermit File Attributes

To accept file attributes(size, type and timestamp, etc) of Kermit, edit the KmtFileAttr line in the [Tera Term] section of the setup file like the following:

    KmtFileAttr=on

However, the kermit server must support this feature.

    Default:
    KmtFileAttr=off

# XMODEM log

To log data packets of XMODEM to the file XMODEM.LOG, edit the XmodemLog line in the [Tera Term] section of the setup file like the following:

    XmodemLog=on

    Default:
    XmodemLog=off

# Receive command for XMODEM

You can automatically start the receipt of file by sending "a command for XMODEM receipt" to host immediately before transmitting a file. Specify a command for XMODEM receipt to be sent from Tera Term.

    XmodemRcvCommand=rx

If not specified, " a command for XMODEM receipt" will not be sent.

    default:
    XmodemRcvCommand=

# Timeout settings for XMODEM

XMODEM timeout value can be specified in seconds.

1st ... NAK mode: Timeout value for first packet
2nd ... CRC mode: Timeout value for first packet
3rd ... Timeout short time
4th ... Timeout long time
5th ... Timeout very long time

    default:
    XmodemTimeouts=10,3,10,20,60

# Timeout settings for YMODEM

YMODEM timeout value can be specified in seconds.

1st ... NAK mode: Timeout value for first packet
2nd ... CRC mode: Timeout value for first packet
3rd ... Timeout short time
4th ... Timeout long time
5th ... Timeout very long time

    default:
    YmodemTimeouts=10,3,10,20,60

# Auto activation of ZMODEM Receive / Send

To enable the auto activation of the ZMODEM Receive / Send command, edit the ZmodemAuto line in the [Tera Term] section of the setup file like the following:

    ZmodemAuto=on

If you run the ZMODEM Send command at the host, the ZMODEM Receive command of Tera Term is automatically activated.
When ZMODEM receiving(upload) command of remote host is executed, the file selection dialog of ZMODEM sending is opened.

    Default:
    ZmodemAuto=off

# Parameters for ZMODEM sending

You can change the ZMODEM parameters for sending by editing the ZmodemDataLen and ZmodemWinSize lines in the [Tera Term] section of the setup file like the following:

    ZmodemDataLen=<data sub packet length in bytes>
    ZmodemWinSize=<window size for sending in bytes>

Note that these parameters does not affect ZMODEM receiving.

The maximum data sub packet length is 1024. Usually the larger packet length causes the faster sending speed.

The maximum window size is 32767. Usually the larger window size causes the faster sending speed. If you want to set the window size to infinity, specify a minus value (e.g. -1).

If the communication line has problems in the flow control or error correction, or the data processing power of the host is extremely low, decreasing the packet length or window size may improve speed and stability of file sending.

    Default:
    ZmodemDataLen=1024
    ZmodemWinSize=32767

NOTICE: Please specify the ZmodemDataLen=128 at the Allied Telesis router.

# Escaping all control characters in the ZMODEM protocol

To escape all control characters in the ZMODEM file transfer, edit the ZmodemEscCtl line in the [Tera Term] section of the setup file like the following:

    ZmodemEscCtl=on

    Default:
    ZmodemEscCtl=off

# ZMODEM log

To log data packets of ZMODEM to the file ZMODEM.LOG, edit the following line in the [Tera Term] section of the setup file like the following:

    ZmodemLog=on

    Default:
    ZmodemLog=off

# Receive command for ZMODEM

You can automatically start the receipt of file by sending "a command for ZMODEM receipt" to host immediately before transmitting a file. Specify a command for ZMODEM receipt to be sent from Tera Term.

If not specified, " a command for XMODEM receipt" will not be sent.

    ZmodemRcvCommand=

    default:
    ZmodemRcvCommand=rz

# Timeout settings for ZMODEM

ZMODEM timeout value can be specified in seconds.

1st ... Timeout value for serial port
2nd ... Timeout value for TCP/IP port
3rd ... Timeout value for initial packet
4th ... Timeout value for final packet

    default:
    ZmodemTimeouts=10,0,10,3

# File name filter for send file dialog

To apply user define filter for "types of file" on send file dialog, edit the following line in the [Tera Term] section of the setup file like the following:

    FileSendFilter=*.txt;a.log

    default:
    FileSendFilter=

# Confirmation of File Transfer by Drag & Drop

Tera Term displays a message box to confirm the file transfer operation when a file is dragged and dropped in a window as a default. If ConfirmFileDragAndDrop line in "Tera Term" section of setup file is modified as follows, a file transfer will be started without a confirmation.

    ConfirmFileDragAndDrop=off

    default:
    ConfirmFileDragAndDrop=on

# File Transfer Dialog is hidden

Basically, the transferring progress dialog is shown when a file is sent. If a user wants to hide the dialog, please change the FTHideDialog entry of the [Tera Term] section in the following:

    FTHideDialog=on

    default:
    FTHideDialog=off

# High Speed File Transfer on Serial Connection

Basically, the file content is sent as one byte at a time.
However, the transfer speed will be slow because of byte by byte.
The file content is sent as 8KB at at time on the special condition to resolve the performance problem.

    Condition:
    Serial connection
    Binary flag on
    Not Bracketed Paste Mode
    Telnet flag off
    LocalEcho off
    Speed 115200 over

If this feature is always disabled, please change the FileSendHighSpeedMode entry of the [Tera Term] section in the teraterm.ini file.

    FileSendHighSpeedMode=off

This feature applies to the file transfer by the [File]-[Send file...].
Also, the feature does not apply to the [File]-[Transfer] and the SSH SCP.

    default:
    FileSendHighSpeedMode=on