Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/doc/en/html/macro/command/xmodemsend.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6251 - (show annotations) (download) (as text)
Wed Jan 6 06:28:14 2016 UTC (8 years, 4 months ago) by doda
File MIME type: text/html
File size: 1686 byte(s)
typo fix

1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <title>xmodemsend</title>
7 <meta http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../../style.css" type="text/css">
9 </head>
10
11 <body>
12
13
14 <h1>xmodemsend</h1>
15
16 <p>
17 Sends a file from the host with the XMODEM protocol.
18 </p>
19
20 <pre class="macro-syntax">
21 xmodemsend &lt;filename&gt; &lt;option&gt;
22 </pre>
23
24 <h2>Remarks</h2>
25
26 <p>
27 Causes Tera Term to send the file &lt;filename&gt; 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.
29 </p>
30
31 <p>
32 &lt;option&gt; specifies the XMODEM option (packet size), and can be one of the following: <br>
33 Type of error detection (Checksum/CRC) can be specified at receiver side. <em>(version 4.90 or later)</em>
34 </p>
35
36 <table>
37 <tr>
38 <th>&lt;option&gt;</th>
39 <th>(version 4.89 or earlier)</th>
40 <th>(version 4.90 or later)</th>
41 </tr>
42 <tr>
43 <td>1</td>
44 <td>Checksum</td>
45 <td>default(128 bytes)</td>
46 </tr>
47 <tr>
48 <td>2</td>
49 <td>CRC</td>
50 <td>default(128 bytes)</td>
51 </tr>
52 <tr>
53 <td>3</td>
54 <td>1K</td>
55 <td>1K</td>
56 </tr>
57 <tr>
58 <td>others</td>
59 <td>Checksum</td>
60 <td>default(128 bytes)</td>
61 </tr>
62 </table>
63
64 <h2>Example</h2>
65
66 <pre class="macro-example">
67 <code>; XMODEM send, default packet size
68 xmodemsend 'readme.txt' 1
69
70 ; XMODEM send, 1K
71 xmodemsend 'readme.txt' 3
72 </code></pre>
73
74 </body>
75 </html>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26