Send file ([File] menu)
Sends a file to the host.
Selecting this menu brings up the "Send file" dialog.
Selecting this menu while holding down CTRL key skips "Send file" dialog
and you can send file by only selecting file.
At this time, same sending options are used as before.
This behavior can be changed with Special Option.
"Send file" dialog box (to input the file name)
- File Name
-
Enter or select a filename to be sent.
By dropping a file into dialog, You can also enter file name.
- File reading method
-
How to read file to be sent.
- Bulk read
-
- Entire file is read into memory before sending.
- When file is large, it may not be readable.
- Transmission processing is faster than sequential reading..
- Delay setting can be used to adjust transmission speed.
- Encoding of text files is automatically detected.
- This method is implemented in Tera Term 5.
- Sequential read
-
- Reads 1 byte at a time from a file, and sends it.
- Text files are read as ACP and encoding is not automatically detected.
- UTF-8 files cannot be handled correctly.
- Delay settings are not available.
- This sending method is same as that of Tera Term 4.
- Binary
-
If you select this option, received characters are sent without any
modifications. Otherwise, new-line codes are converted and control
characters (except TAB, LF and CR) are stripped out.
- Delay setting
-
Delay settings are available when bulk read.
- delay type
-
- no delay
-
Without delay processing
- per character
-
Delay processing for each character
- per line
-
Delay processing for each line.
- per sendsize
-
Delay processing for each specified transmission size.
- send size
-
Send size (valid when delay type is "per sendsize")
- delay time(ms)
-
Delay time (valid when delay type is not "no delay")
Special options in the Tera Term setup file
See also the following settings
Send size
Considering receiver's receive buffer size and processing speed,
by inserting a delay for each specified send size,
file send can be performed more efficiently than by inserting a delay for each character or each line.
Dropping of transmitted data may occur at following part.
s1 s2 s3 s4 program
Tera Term ---> Send buffer ---> Windows ---> (sshd,telnet,pipe) ---> OS,driver ---> pty + shell, other program
in Tera Term (serial ) UART chip,ext Embedded programs, etc.
receive bufer <-- <--- <--- <---
r1 r2 r3 r4
- s1 Sned buffer in Tera Term
-
It is unlikely to drop.
Data is sended while watching free size of send buffer.
- s2 Windows
-
It is unlikely to drop.
Depending on hardware and driver version, various problems may occur, including BSoD.
You can see details of driver in Tera Term serial port settings.
- s3 transmission path
-
In serial, there is no resend process with error. If error occurs in data, data is dropped.
For TCP/IP, pipe, it is unlikely to drop.
- s4 OS,UART chip(receiver)
-
Receiving data beyond processing capacity of PC (CPU) (when PROGRAM does not pick up received data from OS or chip) or other causes,
Receive buffer of OS (driver) or UART chip are overflows and data is dropped.
OS (driver) or program handles flow control depends on implementation.
In TCP/IP, flow control and resend on error are performed, and in most cases,
protocol stack in OS handles these processes.
In serial, user can decide whether flow control is used or not, and resend are not automatically performed in case of overflow or other errors.
- program
-
Dropped due to receive buffer overflow, etc. in program.
When receive buffer is about to overflow in pseudo terminal(pty), 0x07(BEL) is sent and Tera Term will ring bell.
Receive buffer size of main UART chips and drivers
8250 UART no FIFO
16550 UART 16 Byte FIFO
FT232R 256 Byte receive buffer
TTY drive(Linux 2.6.26) 4KB (SSH Design and Implementation in TTSSH)
If echo of sent data is not returned, it is possible that received data has been dropped somewhere.
"Send file" dialog box (displayed while sending)
- Close
-
The Close button quits sending.
- Pause/Start
-
The Pause button pauses sending. The Start button restarts sending.
These buttons function as toggles.