Browse Subversion Repository
Contents of /trunk/doc/jp/html/macro/command/scpsend.html
Parent Directory
| Revision Log
Revision 3227 -
( show annotations)
( download)
( as text)
Tue Mar 24 15:10:33 2009 UTC
(15 years, 1 month ago)
by maya
File MIME type: text/html
File size: 1094 byte(s)
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換
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=Shift_JIS"> |
6 |
<title>scpsend</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>scpsend</h1> |
15 |
|
16 |
<p> |
17 |
SCPプロトコルでファイルを送信する。 |
18 |
</p> |
19 |
|
20 |
<pre class="macro-syntax"> |
21 |
scpsend <filename> [<destination filename>] |
22 |
</pre> |
23 |
|
24 |
<h2>解説</h2> |
25 |
|
26 |
<p> |
27 |
ファイル <filename> を SCP(Secure Copy Protocol) プロトコルで送信する。 |
28 |
転送先を省略した場合は、ファイルはリモートホストのホームディレクトリへコピーされる。 |
29 |
送信が終わるのを待たずに、次のコマンドを実行することができる。<br> |
30 |
|
31 |
なお、2GBを超えるファイルを扱うことはできない。 |
32 |
</p> |
33 |
|
34 |
<h2>例</h2> |
35 |
|
36 |
<pre class="macro-example"> |
37 |
connect '192.168.3.2:22 /ssh /2 /auth=password /user=hoge /passwd=fuga' |
38 |
wait '$' |
39 |
scpsend 'C:\usr\cvs\doc\en\teraterm.chm' |
40 |
scpsend 'C:\usr\cvs\doc\en\teraterm.chm' 'tmp/foo.chm' |
41 |
</pre> |
42 |
|
43 |
</body> |
44 |
</html> |
|