1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
"http://www.w3.org/TR/html4/strict.dtd"> |
3 |
<html> |
<html> |
4 |
<head> |
<head> |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 |
<title>xmodemsend</title> |
<title>xmodemsend</title> |
7 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
<meta http-equiv="Content-Style-Type" content="text/css"> |
8 |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
9 |
</head> |
</head> |
10 |
|
|
11 |
<body> |
<body> |
12 |
|
|
13 |
|
|
14 |
<h1>xmodemsend</h1> |
<h1>xmodemsend</h1> |
15 |
|
|
16 |
<p> |
<p> |
17 |
Sends a file from the host with the XMODEM protocol. |
Sends a file from the host with the XMODEM protocol. |
18 |
</p> |
</p> |
19 |
|
|
20 |
<pre class="macro-syntax"> |
<pre class="macro-syntax"> |
21 |
xmodemsend <filename> <option> |
xmodemsend <filename> <option> |
22 |
</pre> |
</pre> |
23 |
|
|
24 |
<h2>Remarks</h2> |
<h2>Remarks</h2> |
25 |
|
|
26 |
<p> |
<p> |
27 |
Causes Tera Term to send the file <filename> to the host with the XMODEM protocol. Pauses until the end of the file transfer.<br> |
Causes Tera Term to send the file <filename> to the host with the XMODEM protocol. Pauses until the end of the file transfer.<br> |
28 |
If the file is transferred successfully, the system variable "result" is set to 1. Otherwise, "result" is set to zero. |
If the file is transferred successfully, the system variable "result" is set to 1. Otherwise, "result" is set to zero. |
29 |
</p> |
</p> |
30 |
|
|
31 |
<p> |
<p> |
32 |
<option> specifies the XMODEM option, and can be one of the following: |
<option> specifies the XMODEM option, and can be one of the following: |
33 |
</p> |
</p> |
34 |
|
|
35 |
<table> |
<table> |
36 |
<tr> |
<tr> |
37 |
<th><option></th> |
<th><option></th> |
38 |
<th>XMODEM option</th> |
<th>XMODEM option</th> |
39 |
</tr> |
</tr> |
40 |
<tr> |
<tr> |
41 |
<td>1</td> |
<td>1</td> |
42 |
<td>Checksum</td> |
<td>Checksum</td> |
43 |
</tr> |
</tr> |
44 |
<tr> |
<tr> |
45 |
<td>2</td> |
<td>2</td> |
46 |
<td>CRC</td> |
<td>CRC</td> |
47 |
</tr> |
</tr> |
48 |
<tr> |
<tr> |
49 |
<td>3</td> |
<td>3</td> |
50 |
<td>1K</td> |
<td>1K</td> |
51 |
</tr> |
</tr> |
52 |
<tr> |
<tr> |
53 |
<td>others</td> |
<td>others</td> |
54 |
<td>Checksum</td> |
<td>Checksum</td> |
55 |
</tr> |
</tr> |
56 |
</table> |
</table> |
57 |
|
|
58 |
<h2>Example</h2> |
<h2>Example</h2> |
59 |
|
|
60 |
<pre class="macro-example"> |
<pre class="macro-example"> |
61 |
<code>; XMODEM send, checksum |
<code>; XMODEM send, checksum |
62 |
xmodemsend 'readme.txt' 1 |
xmodemsend 'readme.txt' 1 |
63 |
</code></pre> |
</code></pre> |
64 |
|
|
65 |
</body> |
</body> |
66 |
</html> |
</html> |