332b359851
Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp> Reviewed by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>, kano@na.rim.or.jp
191 lines
5.6 KiB
Groff
191 lines
5.6 KiB
Groff
.\" Copyright (c) 1990, 1993, 1994
|
||
.\" The Regents of the University of California. All rights reserved.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the University of
|
||
.\" California, Berkeley and its contributors.
|
||
.\" 4. Neither the name of the University nor the names of its contributors
|
||
.\" may be used to endorse or promote products derived from this software
|
||
.\" without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
.\" SUCH DAMAGE.
|
||
.\"
|
||
.\" @(#)tftp.1 8.2 (Berkeley) 4/18/94
|
||
.\" %FreeBSD: src/usr.bin/tftp/tftp.1,v 1.18 2004/07/02 22:22:32 ru Exp %
|
||
.\" $FreeBSD$
|
||
.\"
|
||
.Dd October 1, 2003
|
||
.Dt TFTP 1
|
||
.Os
|
||
.Sh ̾¾Î
|
||
.Nm tftp
|
||
.Nd ´Êñ¤Ê¥Õ¥¡¥¤¥ëžÁ÷¥×¥í¥°¥é¥à
|
||
.Sh ½ñ¼°
|
||
.Nm
|
||
.Op Ar host Op Ar port
|
||
.Sh ²òÀâ
|
||
.Nm
|
||
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È
|
||
.Tn TFTP
|
||
(Trivial File Transfer Protocol) ¤òÍѤ¤¤Æ¡¢¥ê¥â¡¼¥È¥Þ¥·¥ó¤È¤Î´Ö¤Î
|
||
¥Õ¥¡¥¤¥ëžÁ÷¤ò¹Ô¤¦¤¿¤á¤Î¥æ¡¼¥¶¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ç¤¹¡£
|
||
¥ê¥â¡¼¥È¥Þ¥·¥ó̾
|
||
.Ar host
|
||
¤Ï¡¢
|
||
.Nm
|
||
µ¯Æ°»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£
|
||
¤³¤Î¾ì¹ç¡¢
|
||
.Ar host
|
||
¤Ï¥Õ¥¡¥¤¥ëžÁ÷¤ò¹Ô¤¦ºÝ¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥Û¥¹¥È¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£
|
||
(°Ê²¼¤Î
|
||
.Cm connect
|
||
¥³¥Þ¥ó¥É¤ò»²¾È¤Î¤³¤È)¡£
|
||
.Sh ¥³¥Þ¥ó¥É
|
||
.Nm
|
||
µ¯Æ°¸å¡¢¥³¥Þ¥ó¥ÉÆþÎϤòÂ¥¤¹¥×¥í¥ó¥×¥È
|
||
.Dq Li tftp>
|
||
¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
|
||
¤³¤Î¾õÂ֤ǻÈÍѤǤ¤ë¥³¥Þ¥ó¥É¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£
|
||
.Pp
|
||
.Bl -tag -width verbose -compact
|
||
.It Cm \&? Ar command-name ...
|
||
¥Ø¥ë¥×¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤Þ¤¹¡£
|
||
.Pp
|
||
.It Cm ascii
|
||
``mode ascii'' ¤Îά¤Ç¤¹¡£
|
||
.Pp
|
||
.It Cm binary
|
||
``mode binary'' ¤Îά¤Ç¤¹¡£
|
||
.Pp
|
||
.It Cm connect Ar host Op Ar port
|
||
¥Õ¥¡¥¤¥ëžÁ÷¤ò¹Ô¤¦
|
||
.Ar host
|
||
¤ò(ɬÍפ¢¤ì¤Ð
|
||
.Ar port
|
||
ÈÖ¹æ¤âƱ»þ¤Ë)
|
||
ÀßÄꤷ¤Þ¤¹¡£
|
||
¤Ê¤ª¡¢
|
||
.Tn TFTP
|
||
¥×¥í¥È¥³¥ë¤Ï¡¢
|
||
.Tn FTP
|
||
¥×¥í¥È¥³¥ë¤È°ã¤¤¡¢ÌµÄÌ¿®¾õÂ֤ˤª¤¤¤Æ¤Ï¥Û¥¹¥È´Ö¤Î
|
||
¥³¥Í¥¯¥·¥ç¥ó¤òÊÝ»ý¤·¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
|
||
¤Ä¤Þ¤ê¡¢
|
||
.Cm connect
|
||
¥³¥Þ¥ó¥É¤Ï¥Û¥¹¥È
|
||
´Ö¤Î¥³¥Í¥¯¥·¥ç¥ó¤ò³ÎΩ¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢¼ÂºÝ¤Ë¤ÏžÁ÷¤ò¹Ô¤¦¥Û¥¹¥È¤ò
|
||
µ²±¤¹¤ë¤Î¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£
|
||
»ÈÍѼԤÏ
|
||
.Cm connect
|
||
¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ëɬÍפϤʤ¯¡¢
|
||
.Cm get
|
||
¤â¤·¤¯¤Ï
|
||
.Cm put
|
||
¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë»þ¤Ë¥ê¥â¡¼¥È¥Û¥¹¥È¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
||
.Pp
|
||
.It Cm get Oo Ar host : Oc Ns Ar file Op Ar localname
|
||
.It Cm get Xo
|
||
.Oo Ar host1 : Oc Ns Ar file1
|
||
.Oo Ar host2 : Oc Ns Ar file2 ...
|
||
.Oo Ar hostN : Oc Ns Ar fileN
|
||
.Xc
|
||
¥ê¥â¡¼¥È¥Û¥¹¥È¤«¤é 1 ¸Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤·¤Þ¤¹¡£
|
||
.Ar host
|
||
°ú¿ô¤ò»ÈÍѤ¹¤ë¤È¡¢¾Íè¤ÎžÁ÷¤Ë¤ª¤¤¤Æ
|
||
.Ar host
|
||
¤¬¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤµ¤ì¤Þ¤¹¡£
|
||
.Ar localname
|
||
¤¬»ØÄꤵ¤ì¤ë¤È¡¢¥Õ¥¡¥¤¥ë¤Ï¥í¡¼¥«¥ë¤Ë¤Ï
|
||
.Ar localname
|
||
¤È¤¤¤¦Ì¾Á°¤ÇÊݸ¤µ¤ì¤Þ¤¹¡£
|
||
¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¸µ¤Î¥Õ¥¡¥¤¥ë̾¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£
|
||
Ʊ»þ¤Ë 2 ¸Ä¤Î¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
|
||
Ʊ»þ¤Ë 1 ¸Ä¡¢3¸Ä¡¢3 ¸Ä°Ê¾å¤Î¤¤¤º¤ì¤«¤Î¤ß¤¬²Äǽ¤Ç¤¹¡£
|
||
.Pp
|
||
¥Û¥¹¥È¤Ë IPv6 ¿ôÃÍ¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ë¤Ë¤Ï¡¢
|
||
.Dq Li [3ffe:2900:e00c:ffee::1234] : Ns Ar file
|
||
¤Î¤è¤¦¤Ë³Ñ³ç¸Ì¤Ç³ç¤ê¡¢IPv6 ¥¢¥É¥ì¥¹¤Î¶èÀÚ¤ê¤Î¥³¥í¥ó¤È
|
||
¥Û¥¹¥È¤È¥Õ¥¡¥¤¥ë̾¤Î¶èÀÚ¤ê¤Î¥³¥í¥ó¤È¤¬¶èÊ̤Ǥ¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
|
||
.Pp
|
||
.It Cm mode Ar transfer-mode
|
||
žÁ÷¥â¡¼¥É¤òÀßÄꤷ¤Þ¤¹¡£
|
||
.Ar transfer-mode
|
||
¤Ï
|
||
.Em ascii
|
||
¤È
|
||
.Em binary
|
||
¤Î 2 Ä̤꤬¤¢¤ê¤Þ¤¹¡£
|
||
¥Ç¥Õ¥©¥ë¥È¤Ï
|
||
.Em ascii
|
||
¤È¤Ê¤ê¤Þ¤¹¡£
|
||
.Pp
|
||
.It Cm put Ar file Op Oo Ar host : Oc Ns Ar remotename
|
||
.It Cm put Ar file1 file2 ... fileN Op Oo Ar host : Oc Ns Ar remote-directory
|
||
¥ê¥â¡¼¥È¥Û¥¹¥È¤Ø 1 ¸Ä¤Î¥Õ¥¡¥¤¥ë¤â¤·¤¯¤Ï¥Õ¥¡¥¤¥ë½¸¹ç¤òžÁ÷¤·¤Þ¤¹¡£
|
||
.Ar remotename
|
||
¤¬»ØÄꤵ¤ì¤ë¤È¡¢¥ê¥â¡¼¥È¤ÇÊݸ¤µ¤ì¤ë¥Õ¥¡¥¤¥ë̾¤Ï
|
||
.Ar remotename
|
||
¤Ë¤Ê¤ê¤Þ¤¹¡£
|
||
¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¸µ¤Î¥Õ¥¡¥¤¥ë̾¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£
|
||
.Ar remote-directory
|
||
°ú¿ô¤¬»ÈÍѤµ¤ì¤ë¤È¡¢¥ê¥â¡¼¥È¥Û¥¹¥È¤Ï
|
||
.Ux
|
||
¥Þ¥·¥ó¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¡£
|
||
.Ar host
|
||
¤Ë IPv6 ¿ôÃÍ¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ë¤Ë¤Ï¡¢
|
||
.Cm get
|
||
¥³¥Þ¥ó¥É¤ÎÎã¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
|
||
.Pp
|
||
.It Cm quit
|
||
.Nm
|
||
¤ò½ªÎ»¤·¤Þ¤¹¡£
|
||
EOF (^D) ¤òÆþÎϤ·¤¿¾ì¹ç¤âƱÍͤǤ¹¡£
|
||
.Pp
|
||
.It Cm rexmt Ar retransmission-timeout
|
||
¥Ñ¥±¥Ã¥ÈËè¤ÎºÆÁ÷¥¿¥¤¥à¥¢¥¦¥È»þ´Ö¤òÉÃñ°Ì¤ÇÀßÄꤷ¤Þ¤¹¡£
|
||
.Pp
|
||
.It Cm status
|
||
¸½ºß¤Î tftp ¤Î¾õÂÖ¤òɽ¼¨¤·¤Þ¤¹¡£
|
||
.Pp
|
||
.It Cm timeout Ar total-transmission-timeout
|
||
Á´ÂΤΞÁ÷¥¿¥¤¥à¥¢¥¦¥È»þ´Ö¤ò¡¢ÉÃñ°Ì¤ÇÀßÄꤷ¤Þ¤¹¡£
|
||
.Pp
|
||
.It Cm trace
|
||
¥È¥°¥ëÆ°ºî¤Ç¥Ñ¥±¥Ã¥È¥È¥ì¡¼¥¹µ¡Ç½¤Î ON/OFF ¤òÀßÄꤷ¤Þ¤¹¡£
|
||
.Pp
|
||
.It Cm verbose
|
||
¥È¥°¥ëÆ°ºî¤Ç¥Ð¡¼¥Ü¡¼¥º¥â¡¼¥É¤Î ON/OFF ¤òÀßÄꤷ¤Þ¤¹¡£
|
||
.El
|
||
.Sh ¥Ð¥°
|
||
.Tn TFTP
|
||
¥×¥í¥È¥³¥ë¤Ë¤Ï¡¢¥æ¡¼¥¶Ç§¾Úµ¡¹½¤¬¤Ê¤¤¤¿¤á¤Ë¡¢¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï
|
||
²¿¤é¤«¤Î¼ïÎà¤Î¥¢¥¯¥»¥¹À©¸Â¤¬À¸¤¸¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
|
||
¤½¤ì¤é¤Ë´Ø¤·¤Æ¤Ï¤¤¤í¤¤¤í¤ÊÎ㤬¤¢¤ë¤¿¤á¡¢¤³¤³¤Ë¤Ïµ½Ò¤·¤Þ¤»¤ó¡£
|
||
.Pp
|
||
33488896 ¥ª¥¯¥Æ¥Ã¥È (65535 ¥Ö¥í¥Ã¥¯) ¤ò±Û¤¨¤ë¥Õ¥¡¥¤¥ë¤Ï¡¢
|
||
¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð¤¬¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤Î¥Í¥´¥·¥¨¡¼¥·¥ç¥ó (RFC1783) ¤ò
|
||
¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢Å¾Á÷ÉÔ²Äǽ¤Ç¤¹¡£
|
||
.Sh Îò»Ë
|
||
.Nm
|
||
¥³¥Þ¥ó¥É¤Ï
|
||
.Bx 4.3
|
||
¤«¤éÅо줷¤Þ¤·¤¿¡£
|