1 .\" Copyright (c) 1985, 1989, 1990 The Regents of the University of California.
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" from: @(#)ftp.1 6.18 (Berkeley) 7/30/91
33 .\" $Id: ftp.1,v 1.14 2000/07/30 23:56:59 dholland Exp $
35 .\" Japanese Version Copyright (c) 2000 Yuichi SATO
36 .\" all rights reserved.
37 .\" Translated Fri Sep 08 1995
38 .\" by NetBSD jman proj. <jman@spa.is.uec.ac.jp>
39 .\" Updated Tue Nov 14 21:18:31 JST 2000
40 .\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
42 .\"WORD: inactivity timer ̵³èÆ°¥¿¥¤¥Þ
46 .Os "Linux NetKit (0.17)"
52 .\"O file transfer program
53 ¥Õ¥¡¥¤¥ëžÁ÷¥×¥í¥°¥é¥à
65 .\"O is the user interface to the
67 .\"O standard File Transfer Protocol.
68 .\"O The program allows a user to transfer files to and from a
69 .\"O remote network site.
73 ɸ½à¤Î¥Õ¥¡¥¤¥ëžÁ÷¥×¥í¥È¥³¥ë (File Transfer Protocol) ¤Î
74 ¥æ¡¼¥¶¡¼¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ç¤¢¤ë¡£
75 ¤³¤Î¥×¥í¥°¥é¥à¤Ë¤è¤ê¡¢¥æ¡¼¥¶¡¼¤Ï¥ê¥â¡¼¥È¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥µ¥¤¥È¤È
76 Áê¸ß¤Ë¥Õ¥¡¥¤¥ë¤òžÁ÷¤Ç¤¤ë¡£
78 .\"O Options may be specified at the command line, or to the
79 .\"O command interpreter.
80 ¥ª¥×¥·¥ç¥ó¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤«¡¢¥³¥Þ¥ó¥É¥¤¥ó¥¿¥×¥ê¥¿¤Ç»ØÄê¤Ç¤¤ë¡£
83 .\"O Use passive mode for data transfers. Allows use of ftp in environments
84 .\"O where a firewall prevents connections from the outside world back to
85 .\"O the client machine. Requires that the ftp server support the PASV
86 .\"O command. This is the default if invoked as
88 ¥Ç¡¼¥¿Å¾Á÷¤Ë¥Ñ¥Ã¥·¥Ö (passive) ¥â¡¼¥É¤ò»È¤¦¡£
89 ¥Õ¥¡¥¤¥ä¡¼¥¦¥©¡¼¥ë¤¬Çظå¤Ë¤¢¤ë¥¯¥é¥¤¥¢¥ó¥È¥Þ¥·¥ó¤Ø¤Î
90 ³°Éô¤«¤é¤ÎÀܳ¤òËɤ¤¤Ç¤¤¤ë¤è¤¦¤Ê´Ä¶¤Ç ftp ¤¬»È¤¨¤ë¤è¤¦¤Ë¤Ê¤ë¡£
91 FTP ¥µ¡¼¥Ð¤¬ PASV ¥³¥Þ¥ó¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ë¡£
93 ¤È¤·¤Æµ¯Æ°¤µ¤ì¤¿¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
95 .\"O Turns off interactive prompting during multiple file transfers.
96 Ê£¿ô¤Î¥Õ¥¡¥¤¥ë¤ÎžÁ÷Ãæ¤ËÂÐÏà (interactive) ¥×¥í¥ó¥×¥È¤ò½Ð¤µ¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡£
100 .\"O from attempting \*(Lqauto-login\*(Rq upon initial connection.
101 .\"O If auto-login is enabled,
107 .\"O file in the user's home directory for an entry describing
108 .\"O an account on the remote machine.
109 .\"O If no entry exists,
111 .\"O will prompt for the remote machine login name (default is the user
112 .\"O identity on the local machine), and, if necessary, prompt for a password
113 .\"O and an account with which to login.
115 ¤¬ºÇ½é¤ÎÀܳ¤Ç \*(Lq¼«Æ°¥í¥°¥¤¥ó (auto-login)\*(Rq ¤·¤è¤¦¤È¤¹¤ë¤Î¤òÍÞÀ©¤¹¤ë¡£
116 ¼«Æ°¥í¥°¥¤¥ó¤¬²Äǽ¤Ê¾ì¹ç¡¢
118 ¤Ï¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë
123 ¤Ç¥ê¥â¡¼¥È¥Þ¥·¥ó¤Î¥¢¥«¥¦¥ó¥È¤¬µ½Ò¤µ¤ì¤Æ¤¤¤ë¥¨¥ó¥È¥ê¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
126 ¤Ï¥ê¥â¡¼¥È¥Þ¥·¥ó¤Î¥í¥°¥¤¥ó̾ (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥í¡¼¥«¥ë¥Þ¥·¥ó¤Ç¥í¥°¥¤¥ó̾)
127 ¤òÍ׵᤹¤ë¥×¥í¥ó¥×¥È¤ò½Ð¤¹¡£
128 ɬÍפʤé¤Ð¡¢¥í¥°¥¤¥ó¤Ë»È¤¦¥Ñ¥¹¥ï¡¼¥É¤È¥¢¥«¥¦¥ó¥È¤òÍ׵᤹¤ë¥×¥í¥ó¥×¥È¤ò½Ð¤¹¡£
130 .\"O Disables command editing and history support, if it was compiled into
133 .\"O executable. Otherwise, does nothing.
135 ¥×¥í¥°¥é¥à¤Ë¥³¥Þ¥ó¥É¥é¥¤¥óÊÔ½¸ (edit) ¤È¥Ò¥¹¥È¥êµ¡Ç½¤¬ÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
136 ¤½¤ì¤ò»ÈÍÑÉԲĤˤ¹¤ë¡£
137 ÁȤ߹þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢²¿¤â±Æ¶Á¤·¤Ê¤¤¡£
139 .\"O Disables file name globbing.
140 ¥Õ¥¡¥¤¥ë̾Ÿ³« (glob) ¤ò¤µ¤»¤Ê¤¤¡£
142 .\"O Verbose option forces
144 .\"O to show all responses from the remote server, as well
145 .\"O as report on data transfer statistics.
146 ¾ÜºÙɽ¼¨ (verbose) ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢
148 ¤Ï¥Ç¡¼¥¿Å¾Á÷¤Î·ë²Ì¤À¤±¤Ç¤Ê¤¯¡¢
149 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤«¤é¤ÎÁ´¤Æ¤Î¥ì¥¹¥Ý¥ó¥¹¤òɽ¼¨¤¹¤ë¡£
151 .\"O Enables debugging.
152 ¥Ç¥Ð¥Ã¥° (debug) ¤ò͸ú¤Ë¤¹¤ë¡£
155 .\"O The client host with which
157 .\"O is to communicate may be specified on the command line.
158 .\"O If this is done,
160 .\"O will immediately attempt to establish a connection to an
162 .\"O server on that host; otherwise,
164 .\"O will enter its command interpreter and await instructions
168 .\"O is awaiting commands from the user the prompt
170 .\"O is provided to the user.
171 .\"O The following commands are recognized
175 ¤¬ÄÌ¿®¤¹¤ë¥¯¥é¥¤¥¢¥ó¥È¥Û¥¹¥È¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤ë¡£
176 ÄÌ¿®Áê¼ê¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
178 ¤Ï¤¹¤°¤Ë¤½¤Î¥Û¥¹¥È¾å¤Î
180 ¥µ¡¼¥Ð¤ÈÄÌ¿®¤ò³ÎΩ¤·¤è¤¦¤È»î¤ß¤ë¡£
183 ¤Ï¥³¥Þ¥ó¥É¥¤¥ó¥¿¥×¥ê¥¿¤È¤·¤ÆÆ°ºî¤·¡¢¥æ¡¼¥¶¡¼¤«¤é¤Î¥³¥Þ¥ó¥ÉÆþÎϤòÂԤġ£
185 ¤¬¥æ¡¼¥¶¡¼¤«¤é¤Î¥³¥Þ¥ó¥É¤òÂԤľì¹ç¡¢¥æ¡¼¥¶¡¼¤ËÂФ·¤Æ
187 ¤È¤¤¤¦¥×¥í¥ó¥×¥È¤¬½Ð¤µ¤ì¤ë¡£
189 ¤Ï°Ê²¼¤Î¥³¥Þ¥ó¥É¤òǧ¼±¤¹¤ë¡£
191 .It Ic \&! Op Ar command Op Ar args
192 .\"O Invoke an interactive shell on the local machine.
193 .\"O If there are arguments, the first is taken to be a command to execute
194 .\"O directly, with the rest of the arguments as its arguments.
195 ¥í¡¼¥«¥ë¥Þ¥·¥ó¾å¤ÇÂÐÏÃ¥·¥§¥ë¤òµ¯Æ°¤¹¤ë¡£
196 Ê£¿ô¤Î°ú¤¿ô¤¬¤¢¤ë¾ì¹ç¡¢
197 ºÇ½é¤Î°ú¤¿ô¤Ï¼ÂºÝ¤Ë¼Â¹Ô¤µ¤ì¤ë¥³¥Þ¥ó¥É¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¡£
198 »Ä¤ê¤Ï¤½¤Î¥³¥Þ¥ó¥É¤Î°ú¤¿ô¤È¤Ê¤ë¡£
199 .It Ic \&$ Ar macro-name Op Ar args
200 .\"O Execute the macro
202 .\"O that was defined with the
205 .\"O Arguments are passed to the macro unglobbed.
207 ¥³¥Þ¥ó¥É¤ÇÄêµÁ¤µ¤ì¤¿¥Þ¥¯¥í
210 °ú¤¿ô¤ÏŸ³«¤µ¤ì¤º¤Ë¥Þ¥¯¥í¤ËÅϤµ¤ì¤ë¡£
211 .It Ic account Op Ar passwd
212 .\"O Supply a supplemental password required by a remote system for access
213 .\"O to resources once a login has been successfully completed.
214 .\"O If no argument is included, the user will be prompted for an account
215 .\"O password in a non-echoing input mode.
216 °ìÅÙ¥í¥°¥¤¥ó¤¬´°Î»¤·¤Æ¤«¤é¡¢¥ê¥½¡¼¥¹¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Ë
217 ¥ê¥â¡¼¥È¥·¥¹¥Æ¥à¤«¤éÍ׵ᤵ¤ì¤ëÄɲäΥѥ¹¥ï¡¼¥É¤òÆþÎϤ¹¤ë¡£
218 °ú¤¿ô¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥¨¥³¡¼¤Ê¤·¤ÎÆþÎϥ⡼¥É¤Ç¡¢
219 ¤½¤Î¥¢¥«¥¦¥ó¥È¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòÂ¥¤¹¥×¥í¥ó¥×¥È¤¬½Ð¤µ¤ì¤ë¡£
220 .It Ic append Ar local-file Op Ar remote-file
221 .\"O Append a local file to a file on the remote machine.
224 .\"O is left unspecified, the local file name is used in naming the
225 .\"O remote file after being altered by any
230 .\"O File transfer uses the current settings for
236 ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë¤ËÄɲýñ¤¹þ¤ß¤¹¤ë¡£
238 ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤ò
242 ¤ÎÀßÄê¤ÇÊѹ¹¤·¤¿¸å¤Î̾Á°¤ò¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤Î̾Á°¤È¤·¤Æ»È¤¦¡£
248 ¤Î¸½ºß¤ÎÀßÄ꤬»È¤ï¤ì¤ë¡£
250 .\"O Set the file transfer
254 .\"O This is the default type.
259 ¤ËÀßÄꤹ¤ë¡£¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
261 .\"O Arrange that a bell be sounded after each file transfer
262 .\"O command is completed.
263 ³Æ¥Õ¥¡¥¤¥ëžÁ÷¥³¥Þ¥ó¥É¤¬´°Î»¤¹¤ëËè¤Ë¥Ù¥ë¤òÌĤ餹¤è¤¦¤ËÀßÄꤹ¤ë¡£
265 .\"O Set the file transfer
267 .\"O to support binary image transfer.
268 ¥Ð¥¤¥Ê¥ê¥¤¥á¡¼¥¸¤Ê¤É¤ÎžÁ÷¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¡¢¥Õ¥¡¥¤¥ëžÁ÷¤Î
274 .\"O session with the remote server
277 .\"O An end of file will also terminate the session and exit.
283 ƱÍͤˡ¢end of file ¤Ç¤â¥»¥Ã¥·¥ç¥ó¤òÊĤ¸¤Æ½ªÎ»¤¹¤ë¡£
285 .\"O Toggle remote computer file name case mapping during
290 .\"O is on (default is off), remote computer file names with all letters in
291 .\"O upper case are written in the local directory with the letters mapped
294 ¥³¥Þ¥ó¥É¤Î¾ì¹ç¤Ë¹Ô¤ï¤ì¤ë¥ê¥â¡¼¥È·×»»µ¡¾å¤Î¥Õ¥¡¥¤¥ë̾¤ËÂФ¹¤ë
295 Âçʸ»ú¤«¤é¾®Ê¸»ú¤Ø¤ÎÊÑ´¹¤òÀÚÂؤ¨¤ë¡£
297 ¤¬ on ¤Î¾ì¹ç (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï off)¡¢
298 ¥ê¥â¡¼¥È·×»»µ¡¾å¤Ç¥Õ¥¡¥¤¥ë̾¤¬Á´¤ÆÂçʸ»ú¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢
299 ¥í¡¼¥«¥ë¥Ç¥£¥ì¥¯¥È¥ê¤Ë¾®Ê¸»ú¤ËÊÑ´¹¤µ¤ì¤¿
300 ¥Õ¥¡¥¤¥ë̾¤Ç½ñ¤¹þ¤Þ¤ì¤ë¡£
301 .It Ic \&cd Ar remote-directory
302 .\"O Change the working directory on the remote machine
304 .\"O .Ar remote-directory .
305 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤ò
309 .\"O Change the remote machine working directory to the parent of the
310 .\"O current remote machine working directory.
311 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤ò
312 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Ç¤Î¥«¥ì¥ó¥È¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤Î¿Æ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¹¤ë¡£
313 .It Ic chmod Ar mode file-name
314 .\"O Change the permission modes of the file
319 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë
327 .\"O session with the remote server, and
328 .\"O return to the command interpreter.
329 .\"O Any defined macros are erased.
332 ¥»¥Ã¥·¥ç¥ó¤òÊĤ¸¤Æ¡¢¥³¥Þ¥ó¥É¥¤¥ó¥¿¥×¥ê¥¿¤ËÌá¤ë¡£
333 ÄêµÁ¤µ¤ì¤¿Á´¤Æ¤Î¥Þ¥¯¥í¤Ï¾Ãµî¤µ¤ì¤ë¡£
335 .\"O Toggle carriage return stripping during
336 .\"O ascii type file retrieval.
337 .\"O Records are denoted by a carriage return/linefeed sequence
338 .\"O during ascii type file transfer.
339 ascii ¥¿¥¤¥×¤Ç¥Õ¥¡¥¤¥ëžÁ÷¤ò¤¹¤ë¾ì¹ç¤Ë¹Ô¤ï¤ì¤ë
340 ¥¥ã¥ê¥Ã¥¸¥ê¥¿¡¼¥ó¤Î½üµî¤òÀÚÂؤ¨¤ë¡£
341 ascii ¥¿¥¤¥×¤Î¥Õ¥¡¥¤¥ëžÁ÷¤Ç¤Ï¡¢
342 ¥ì¥³¡¼¥É¤Ï¥¥ã¥ê¥Ã¥¸¥ê¥¿¡¼¥ó / ¥é¥¤¥ó¥Õ¥£¡¼¥É¤È¤¤¤¦Ê¸»úÎó¤Çɽ¤µ¤ì¤ë¡£
345 .\"O is on (the default), carriage returns are stripped from this
346 .\"O sequence to conform with the
348 .\"O single linefeed record
351 ¤¬ on ¤Î¾ì¹ç (¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë)¡¢
354 ¤Î¥é¥¤¥ó¥Õ¥£¡¼¥É¤Î¤ß¤Ë¤è¤ë¥ì¥³¡¼¥É¶èÀÚ¤ê¤Ë¹ç¤ï¤»¤ë¤¿¤á¤Ë
355 ʸ»úÎ󤫤é¼è¤ê½ü¤«¤ì¤ë¡£
358 .\"O remote systems may contain single linefeeds;
359 .\"O when an ascii type transfer is made, these linefeeds may be
360 .\"O distinguished from a record delimiter only when
364 °Ê³°¤Î¥ê¥â¡¼¥È¥·¥¹¥Æ¥à¾å¤Î¥ì¥³¡¼¥É¤Ç¤Ï¡¢
365 ¥é¥¤¥ó¥Õ¥£¡¼¥É¤·¤«´Þ¤Þ¤ì¤Ê¤¤¾ì¹ç¤¬¤¢¤ë¡£
366 ascii ¥¿¥¤¥×¤ÎžÁ÷¤Î¾ì¹ç¡¢
368 ¤¬ off ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È¤¤Ë¤Î¤ß¡¢
369 ¤³¤ì¤é¤Î¥é¥¤¥ó¥Õ¥£¡¼¥É¤¬¥ì¥³¡¼¥É¶èÀÚ¤ê¤È¶èÊ̤µ¤ì¤ë¡£
370 .It Ic delete Ar remote-file
373 .\"O on the remote machine.
374 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë
377 .It Ic debug Op Ar debug-value
378 .\"O Toggle debugging mode.
381 .\"O is specified it is used to set the debugging level.
382 .\"O When debugging is on,
384 .\"O prints each command sent to the remote machine, preceded
387 ¥Ç¥Ð¥Ã¥°¥â¡¼¥É¤òÀÚÂؤ¨¤ë¡£
390 ¤¬»ØÄꤵ¤ì¤ë¤È¡¢¥Ç¥Ð¥Ã¥°¥ì¥Ù¥ë¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
393 ¤Ï¥ê¥â¡¼¥È¥Þ¥·¥ó¤ËÁ÷¤é¤ì¤¿³Æ¥³¥Þ¥ó¥É¤ò
398 .Op Ar remote-directory
401 .\"O Print a listing of the directory contents in the
403 .\"O .Ar remote-directory ,
404 .\"O and, optionally, placing the output in
405 .\"O .Ar local-file .
406 .\"O If interactive prompting is on,
408 .\"O will prompt the user to verify that the last argument is indeed the
409 .\"O target local file for receiving
412 .\"O If no directory is specified, the current working
413 .\"O directory on the remote machine is used.
415 .\"O file is specified, or
419 .\"O output comes to the terminal.
420 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Ç¥£¥ì¥¯¥È¥ê
422 ¤ÎÆâÍƤò¥ê¥¹¥Èɽ¼¨¤¹¤ë¡£
423 ¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¡¢½ÐÎϤò¥í¡¼¥«¥ë¤Î¥Õ¥¡¥¤¥ë
426 ÂÐÏÃ¥×¥í¥ó¥×¥È¤¬ on ¤Ç¤¢¤ë¾ì¹ç¡¢
428 ¤ÏºÇ¸å¤Î°ú¤¿ô¤¬ËÜÅö¤Ë
430 ¤Î½ÐÎϤò½ñ¤¹þ¤à¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤«¤ò³Îǧ¤¹¤ë¥×¥í¥ó¥×¥È¤ò½Ð¤¹¡£
431 ¥Ç¥£¥ì¥¯¥È¥ê¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
432 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥«¥ì¥ó¥È¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤ÎÆâÍƤ¬É½¼¨¤µ¤ì¤ë¡£
433 ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï
437 ¤Î¾ì¹ç¡¢½ÐÎϤÏüËö¤ËÁ÷¤é¤ì¤ë¡£
443 .It Ic form Ar format
444 .\"O Set the file transfer
448 .\"O The default format is \*(Lqfile\*(Rq.
454 ¥Ç¥Õ¥©¥ë¥È¤ÎžÁ÷·Á¼°¤Ï \*(Lqfile\*(Rq ¤Ç¤¢¤ë¡£
455 .It Ic get Ar remote-file Op Ar local-file
458 .\"O and store it on the local machine.
460 .\"O file name is not specified, it is given the same
461 .\"O name it has on the remote machine, subject to
462 .\"O alteration by the current
468 .\"O The current settings for
474 .\"O are used while transferring the file.
477 ¤ò¼èÆÀ¤·¥í¡¼¥«¥ë¥Þ¥·¥ó¤ËÊݸ¤¹¤ë¡£
478 ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
479 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Ç¤Î¥Õ¥¡¥¤¥ë̾¤ò¸½ºß¤Î
483 ¤ÎÀßÄê¤Ë½¾¤Ã¤ÆÊѹ¹¤·¤¿Ì¾Á°¤Ë¤Ê¤ë¡£
489 ¤ÎÀßÄ꤬¥Õ¥¡¥¤¥ëžÁ÷¤ÎºÝ¤Ë»È¤ï¤ì¤ë¡£
491 .\"O Toggle filename expansion for
496 .\"O If globbing is turned off with
498 .\"O the file name arguments
499 .\"O are taken literally and not expanded.
508 .\"O each remote file name is expanded
509 .\"O separately on the remote machine and the lists are not merged.
510 .\"O Expansion of a directory name is likely to be
511 .\"O different from expansion of the name of an ordinary file:
512 .\"O the exact result depends on the foreign operating system and ftp server,
513 .\"O and can be previewed by doing
514 .\"O .Ql mls remote-files \-
519 .\"O are not meant to transfer
520 .\"O entire directory subtrees of files.
521 .\"O That can be done by
524 .\"O archive of the subtree (in binary mode).
528 ¤Ç»È¤ï¤ì¤ë¥Õ¥¡¥¤¥ë̾Ÿ³«¤Î»ÈÍÑ¡¦ÉÔ»ÈÍѤòÀÚÂؤ¨¤ë¡£
530 ¤¬¥ª¥Õ¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤Î°ú¤¿ô¤Ïʸ»úÄ̤갷¤ï¤ì¡¢Å¸³«¤µ¤ì¤Ê¤¤¡£
532 ¤Î¾ì¹ç¤Î¥Õ¥¡¥¤¥ë̾Ÿ³«¤Ï¡¢
534 ¤È¹Ô¤ï¤ì¤ë¤â¤Î¤ÈƱÍͤǤ¢¤ë¡£
538 ¤Î¾ì¹ç¡¢¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë̾¤Ï¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Ç¸Ä¡¹¤ËŸ³«¤µ¤ì¡¢
539 ¥ê¥¹¥È¤Ï¥Þ¡¼¥¸¤µ¤ì¤Ê¤¤¡£
540 ¥Ç¥£¥ì¥¯¥È¥ê̾¤ÎŸ³«¤Ï¡¢Ä̾ï¥Õ¥¡¥¤¥ë¤Î̾Á°Å¸³«¤È°Û¤Ê¤ë¾ì¹ç¤¬¤¢¤ë¡£
541 ¤Ä¤Þ¤ê¡¢Å¸³«¤Î·ë²Ì¤Ï OS ¤È FTP ¥µ¡¼¥Ð¤Ë°Í¸¤¹¤ë¡£
543 .Ql mls remote-files \-
544 ¤Ë¤è¤Ã¤Æ¡¢¤¢¤é¤«¤¸¤áÃΤ뤳¤È¤¬¤Ç¤¤ë¡£
549 ¤Ï¥Õ¥¡¥¤¥ë¤Î¥Ç¥£¥ì¥¯¥È¥ê¥µ¥Ö¥Ä¥ê¡¼Á´ÂΤòžÁ÷¤¹¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤¡£
550 ¥µ¥Ö¥Ä¥ê¡¼Á´ÂΤòžÁ÷¤¹¤ë¤Ë¤Ï¡¢
553 ½ñ¸Ë¤ò (binary ¥â¡¼¥É¤Ç) žÁ÷¤¹¤ì¤Ð¤è¤¤¡£
555 .\"O Toggle hash-sign (``#'') printing for each data block
557 .\"O The size of a data block is 1024 bytes.
558 ³Æ¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤¬Å¾Á÷¤µ¤ì¤ëËè¤Ëɽ¼¨¤µ¤ì¤ë¥Ï¥Ã¥·¥åµ¹æ (``#'') ¤Î
559 ɽ¼¨¡¦Èóɽ¼¨¤òÀÚÂؤ¨¤ë¡£
560 ¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤Î¥µ¥¤¥º¤Ï 1024 ¥Ð¥¤¥È¤Ç¤¢¤ë¡£
561 .It Ic help Op Ar command
562 .\"O Print an informative message about the meaning of
564 .\"O If no argument is given,
566 .\"O prints a list of the known commands.
569 ¤Î°ÕÌ£¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
572 ¤Ï»ÈÍѲÄǽ¤Ê¥³¥Þ¥ó¥É¤Î°ìÍ÷¤òɽ¼¨¤¹¤ë¡£
573 .It Ic idle Op Ar seconds
574 .\"O Set the inactivity timer on the remote server to
579 .\"O is ommitted, the current inactivity timer is printed.
580 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Î̵³èÆ°¥¿¥¤¥Þ¤ò
584 ¤ò¾Êά¤¹¤ë¤È¡¢¸½ºß¤Î̵³èÆ°¥¿¥¤¥Þ¤ÎÃͤ¬É½¼¨¤µ¤ì¤ë¡£
585 .It Ic lcd Op Ar directory
586 .\"O Change the working directory on the local machine.
590 .\"O is specified, the user's home directory is used.
591 ¥í¡¼¥«¥ë¥Þ¥·¥ó¾å¤Î¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë¡£
594 ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤¬»ØÄꤵ¤ì¤ë¡£
597 .Op Ar remote-directory
600 .\"O Print a listing of the contents of a
601 .\"O directory on the remote machine.
602 .\"O The listing includes any system-dependent information that the server
603 .\"O chooses to include; for example, most
605 .\"O systems will produce
606 .\"O output from the command
611 .\"O .Ar remote-directory
612 .\"O is left unspecified, the current working directory is used.
613 .\"O If interactive prompting is on,
615 .\"O will prompt the user to verify that the last argument is indeed the
616 .\"O target local file for receiving
619 .\"O If no local file is specified, or if
623 .\"O the output is sent to the terminal.
624 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ÎÆâÍƤò¥ê¥¹¥Èɽ¼¨¤¹¤ë¡£
625 ¥ê¥¹¥È¤Ë¤Ï¥µ¡¼¥Ð¤¬ÁªÂò¤·¤¿¥·¥¹¥Æ¥à°Í¸¤Î¾ðÊ󤬴ޤޤì¤ë¡£
632 ¤ò»²¾È) ¤Ë¤è¤ë½ÐÎϤ¬¹Ô¤ï¤ì¤ë¡£
635 ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥«¥ì¥ó¥È¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤¬»ØÄꤵ¤ì¤ë¡£
636 ÂÐÏÃ¥×¥í¥ó¥×¥È¤¬ on ¤Î¾ì¹ç¡¢
638 ¤ÏºÇ¸å¤Î°ú¤¿ô¤¬ËÜÅö¤Ë
640 ¤Î½ÐÎϤò½ñ¤¹þ¤à¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤«¤ò³Îǧ¤¹¤ë¥×¥í¥ó¥×¥È¤ò½Ð¤¹¡£
641 ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï
645 ¤Î¾ì¹ç¡¢½ÐÎϤÏüËö¤ËÁ÷¤é¤ì¤ë¡£
646 .It Ic macdef Ar macro-name
648 .\"O Subsequent lines are stored as the macro
649 .\"O .Ar macro-name ;
650 .\"O a null line (consecutive newline characters
652 .\"O carriage returns from the terminal) terminates macro input mode.
653 .\"O There is a limit of 16 macros and 4096 total characters in all
655 .\"O Macros remain defined until a
657 .\"O command is executed.
658 .\"O The macro processor interprets `$' and `\e' as special characters.
659 .\"O A `$' followed by a number (or numbers) is replaced by the
660 .\"O corresponding argument on the macro invocation command line.
661 .\"O A `$' followed by an `i' signals that macro processor that the
662 .\"O executing macro is to be looped.
663 .\"O On the first pass `$i' is
664 .\"O replaced by the first argument on the macro invocation command line,
665 .\"O on the second pass it is replaced by the second argument, and so on.
666 .\"O A `\e' followed by any character is replaced by that character.
667 .\"O Use the `\e' to prevent special treatment of the `$'.
672 ¶õ¹Ô (¥Õ¥¡¥¤¥ëÃæ¤ÎϢ³¤·¤¿²þ¹Ôʸ»ú¡¢
673 ¤Þ¤¿¤ÏüËö¤«¤é¤Î¥¥ã¥ê¥Ã¥¸¥ê¥¿¡¼¥ó) ¤Ë¤è¤ê
674 ¥Þ¥¯¥íÆþÎϥ⡼¥É¤Ï½ªÎ»¤¹¤ë¡£
675 ÄêµÁ¤µ¤ì¤¿Á´¤Æ¤Î¥Þ¥¯¥í¤Ç¡¢¥Þ¥¯¥í¿ô 16 ¸Ä¡¢¹ç·× 4096 ʸ»ú¤È¤¤¤¦À©¸Â¤¬¤¢¤ë¡£
677 ¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤µ¤ì¤ë¤Þ¤Ç¡¢¥Þ¥¯¥í¤ÏÄêµÁ¤µ¤ì¤¿¤Þ¤Þ·Ñ³¤¹¤ë (͸ú¤Ç¤¢¤ë)¡£
678 ¥Þ¥¯¥í¥×¥í¥»¥Ã¥µ¤Ï `$' ¤È `\e' ¤òÆüìʸ»ú¤È¤·¤Æ²ò¼á¤¹¤ë¡£
679 1 ¤Ä°Ê¾å¤Î¿ô»ú¤¬Â³¤¯ `$' ¤Ï¡¢¥Þ¥¯¥í¤ò¸Æ¤Ó½Ð¤·¤¿¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î
680 Âбþ¤¹¤ë°ú¤¿ô¤ËÃÖ¤´¹¤¨¤é¤ì¤ë¡£
681 `i' ¤¬Â³¤¯ `$' ¤Ï¡¢¥Þ¥¯¥í¥×¥í¥»¥Ã¥µ¤ËÂФ·¤Æ
682 ¥Þ¥¯¥í¤ò¥ë¡¼¥×¤µ¤»¤ë¤è¤¦¤Ë»Ø¼¨¤¹¤ë¡£
683 ºÇ½é¤Î¥Ñ¥¹¤Ç `$i' ¤Ï¡¢¥Þ¥¯¥í¤ò¸Æ¤Ó½Ð¤·¤¿¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î
684 ºÇ½é¤Î°ú¤¿ô¤ËÃÖ¤´¹¤¨¤é¤ì¤ë¡£
685 ¤½¤·¤Æ¡¢2 ²óÌܤΥѥ¹¤Ç¤Ï 2 ÈÖÌܤΰú¤¿ô¤ËÃÖ¤´¹¤¨¤é¤ì¡¢
686 ¤½¤ì°Ê¹ß¤âƱÍͤ˽çÈÖ¤ËÃÖ¤´¹¤¨¤é¤ì¤ë¡£
687 Ǥ°Õ¤Îʸ»ú¤¬Â³¤¯ `\e' ¤Ï¡¢¤½¤Îʸ»ú¤ËÃÖ¤´¹¤¨¤é¤ì¤ë¡£
688 `$' ¤òÆüìʸ»ú¤È¤·¤Æ°·¤ï¤»¤Ê¤¤¤¿¤á¤Ë¤Ï `\e' ¤ò»È¤¦¤³¤È¡£
689 .It Ic mdelete Op Ar remote-files
691 .\"O .Ar remote-files
692 .\"O on the remote machine.
693 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë
696 .It Ic mdir Ar remote-files local-file
699 .\"O except multiple remote files may be specified.
700 .\"O If interactive prompting is on,
702 .\"O will prompt the user to verify that the last argument is indeed the
703 .\"O target local file for receiving
706 Ê£¿ô¤Î¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤ò»ØÄê¤Ç¤¤ë¤³¤È¤ò½ü¤¯¤È¡¢
709 ÂÐÏÃ¥×¥í¥ó¥×¥È¤¬ on ¤Î¾ì¹ç¡¢
711 ¤ÏºÇ¸å¤Î°ú¤¿ô¤¬ËÜÅö¤Ë
713 ¤Î½ÐÎϤò½ñ¤¹þ¤à¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤«¤ò³Îǧ¤¹¤ë¥×¥í¥ó¥×¥È¤ò½Ð¤¹¡£
714 .It Ic mget Ar remote-files
716 .\"O .Ar remote-files
717 .\"O on the remote machine
720 .\"O for each file name thus produced.
723 .\"O for details on the filename expansion.
724 .\"O Resulting file names will then be processed according to
730 .\"O Files are transferred into the local working directory,
731 .\"O which can be changed with
732 .\"O .Ql lcd directory ;
733 .\"O new local directories can be created with
734 .\"O .Ql "\&! mkdir directory" .
735 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Ç¥Õ¥¡¥¤¥ë̾
737 ¤òŸ³«¤·¡¢¤½¤Î̾Á°¤Î¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ
740 ¥Õ¥¡¥¤¥ë̾Ÿ³«¤Î¾ÜºÙ¤Ï¡¢
743 ·ë²Ì¤È¤·¤ÆÆÀ¤é¤ì¤¿¥Õ¥¡¥¤¥ë̾¤Ï¡¢
747 ¤ÎÀßÄê¤Ë½¾¤Ã¤Æ½èÍý¤µ¤ì¤ë¡£
748 ¥Õ¥¡¥¤¥ë¤Ï¥í¡¼¥«¥ë¤Î¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤ËžÁ÷¤µ¤ì¤ë¡£
752 ¿·¤·¤¤¥í¡¼¥«¥ë¥Ç¥£¥ì¥¯¥È¥ê¤Ï
753 .Ql "\&! mkdir directory"
754 ¤ÇºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
755 .It Ic mkdir Ar directory-name
756 .\"O Make a directory on the remote machine.
757 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Ë¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤¹¤ë¡£
758 .It Ic mls Ar remote-files local-file
761 .\"O except multiple remote files may be specified,
764 .\"O must be specified.
765 .\"O If interactive prompting is on,
767 .\"O will prompt the user to verify that the last argument is indeed the
768 .\"O target local file for receiving
771 Ê£¿ô¤Î¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤ò»ØÄê¤Ç¤¤ëÅÀ¤È¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë
773 ¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤ÅÀ¤ò½ü¤¯¤È¡¢
776 ÂÐÏÃ¥×¥í¥ó¥×¥È¤¬ on ¤Î¾ì¹ç¡¢
778 ¤ÏºÇ¸å¤Î°ú¤¿ô¤¬ËÜÅö¤Ë
780 ¤Î½ÐÎϤò½ñ¤¹þ¤à¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤«¤ò³Îǧ¤¹¤ë¥×¥í¥ó¥×¥È¤ò½Ð¤¹¡£
781 .It Ic mode Op Ar mode-name
782 .\"O Set the file transfer
786 .\"O The default mode is \*(Lqstream\*(Rq mode.
792 ¥Ç¥Õ¥©¥ë¥È¤Ï \*(Lqstream\*(Rq ¥â¡¼¥É¤Ç¤¢¤ë¡£
793 .It Ic modtime Ar file-name
794 .\"O Show the last modification time of the file on the remote machine.
795 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë¤ÎºÇ½ª½¤Àµ»þ¹ï¤òɽ¼¨¤¹¤ë¡£
796 .It Ic mput Ar local-files
797 .\"O Expand wild cards in the list of local files given as arguments
800 .\"O for each file in the resulting list.
803 .\"O for details of filename expansion.
804 .\"O Resulting file names will then be processed according to
809 °ú¤¿ô¤ÇÍ¿¤¨¤é¤ì¤¿¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Î¥ê¥¹¥È¤Ë¤¢¤ë¥ï¥¤¥ë¥É¥«¡¼¥É¤òŸ³«¤·¡¢
810 ·ë²Ì¤È¤·¤ÆÆÀ¤é¤ì¤¿¥Õ¥¡¥¤¥ë¥ê¥¹¥È¤Ë¤¢¤ë³Æ¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ
813 ¥Õ¥¡¥¤¥ë̾Ÿ³«¤Î¾ÜºÙ¤Ï¡¢
816 ·ë²Ì¤È¤·¤ÆÆÀ¤é¤ì¤¿¥Õ¥¡¥¤¥ë̾¤Ï¡¢
820 ¤ÎÀßÄê¤Ë½¾¤Ã¤Æ½èÍý¤µ¤ì¤ë¡£
821 .It Ic newer Ar file-name Op Ar local-file
822 .\"O Get the file only if the modification time of the remote file is more
823 .\"O recent that the file on the current system.
824 .\"O If the file does not
825 .\"O exist on the current system, the remote file is considered
827 .\"O Otherwise, this command is identical to
829 ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤Î½¤Àµ»þ¹ï¤¬
830 ¥í¡¼¥«¥ë¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë¤Î¤â¤Î¤è¤ê¿·¤·¤¤¾ì¹ç¤Ë¤Î¤ß¡¢
832 ¥Õ¥¡¥¤¥ë¤¬¥í¡¼¥«¥ë¥Þ¥·¥ó¤Ë¸ºß¤·¤Ê¤¤¾ì¹ç¡¢¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤Ï
835 ¤½¤Î¾¤Ë¤Ä¤¤¤Æ¡¢¤³¤Î¥³¥Þ¥ó¥É¤Ï
840 .Op Ar remote-directory
843 .\"O Print a list of the files in a
844 .\"O directory on the remote machine.
846 .\"O .Ar remote-directory
847 .\"O is left unspecified, the current working directory is used.
848 .\"O If interactive prompting is on,
850 .\"O will prompt the user to verify that the last argument is indeed the
851 .\"O target local file for receiving
854 .\"O If no local file is specified, or if
858 .\"O the output is sent to the terminal.
859 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤Î¥ê¥¹¥È¤òɽ¼¨¤¹¤ë¡£
862 ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥«¥ì¥ó¥È¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤¬»ØÄꤵ¤ì¤ë¡£
863 ÂÐÏÃ¥×¥í¥ó¥×¥È¤¬ on ¤Î¾ì¹ç¡¢
865 ¤ÏºÇ¸å¤Î°ú¤¿ô¤¬ËÜÅö¤Ë
867 ¤Î½ÐÎϤò½ñ¤½Ð¤¹¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤«¤ò³Îǧ¤¹¤ë¥×¥í¥ó¥×¥È¤ò½Ð¤¹¡£
868 ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï
872 ¤Î¾ì¹ç¡¢½ÐÎϤÏüËö¤ËÁ÷¤é¤ì¤ë¡£
873 .It Ic nmap Op Ar inpattern outpattern
874 .\"O Set or unset the filename mapping mechanism.
875 .\"O If no arguments are specified, the filename mapping mechanism is unset.
876 .\"O If arguments are specified, remote filenames are mapped during
880 .\"O commands issued without a specified remote target filename.
881 .\"O If arguments are specified, local filenames are mapped during
885 .\"O commands issued without a specified local target filename.
886 ¥Õ¥¡¥¤¥ë̾¤Î¥Þ¥Ã¥Ô¥ó¥°µ¡Ç½¤òÀßÄꡦ²ò½ü¤¹¤ë¡£
887 °ú¤¿ô¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤Î¥Þ¥Ã¥Ô¥ó¥°µ¡Ç½¤Ï²ò½ü¤µ¤ì¤ë¡£
888 °ú¤¿ô¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢¥ê¥â¡¼¥È¤ÎžÁ÷Àè¥Õ¥¡¥¤¥ë̾¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤
892 ¥³¥Þ¥ó¥É¤Î¼Â¹Ô»þ¤Ë¡¢¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë̾¤¬¥Þ¥Ã¥Ô¥ó¥°¤µ¤ì¤ë¡£
893 ¤Þ¤¿¡¢°ú¤¿ô¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢¥í¡¼¥«¥ë¤ÎžÁ÷Àè¥Õ¥¡¥¤¥ë̾¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤
897 ¥³¥Þ¥ó¥É¤Î¼Â¹Ô»þ¤Ë¡¢¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤¬¥Þ¥Ã¥Ô¥ó¥°¤µ¤ì¤ë¡£
898 .\"O This command is useful when connecting to a
901 .\"O with different file naming conventions or practices.
902 .\"O The mapping follows the pattern set by
905 .\"O .Ar outpattern .
906 ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥Õ¥¡¥¤¥ë̾¤Î̿̾µ¬Â§¤¬°Û¤Ê¤ë
908 °Ê³°¤Î¥ê¥â¡¼¥È¥Þ¥·¥ó¤È¤ÎÀܳ»þ¤ËÌòΩ¤Ä¡£
913 ¤È¤¤¤¦¥Ñ¥¿¡¼¥ó¤ÎÁȤ˽¾¤¦¡£
914 .\"O .Op Ar Inpattern
915 .\"O is a template for incoming filenames (which may have already been
916 .\"O processed according to the
921 .\"O Variable templating is accomplished by including the
922 .\"O sequences `$1', `$2', ..., `$9' in
925 ¤ÏÆþÎÏ¥Õ¥¡¥¤¥ë̾¤Î¥Æ¥ó¥×¥ì¡¼¥È¤Ç¤¢¤ë
930 ¤ÎÀßÄê¤Ë½¾¤Ã¤Æ½èÍý¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤â¤¢¤ë)¡£
932 ¤Ë `$1', `$2', ..., `$9' ¤È¤¤¤¦Ê¸»úÎó¤òÆþ¤ì¤ë¤³¤È¤Ç¡¢
933 ÊÑ¿ô¤ò»È¤Ã¤¿¥Æ¥ó¥×¥ì¡¼¥È¤òºî¤ë¤³¤È¤¬¤Ç¤¤ë¡£
934 .\"O Use `\\' to prevent this special treatment of the `$' character.
935 .\"O All other characters are treated literally, and are used to determine the
937 .\"O .Op Ar inpattern
938 .\"O variable values.
939 .\"O For example, given
941 .\"O $1.$2 and the remote file name "mydata.data", $1 would have the value
942 .\"O "mydata", and $2 would have the value "data".
943 `$' ʸ»ú¤òÆüìʸ»ú¤È¤·¤Æ°·¤ï¤Ê¤¯¤¹¤ë¤Ë¤Ï `\\' ¤ò»È¤¦¤³¤È¡£
944 ¤½¤Î¾¤ÎÁ´¤Æ¤Îʸ»ú¤Ï¡¢Ê¸»úÄ̤ê¤Ë°·¤ï¤ì¤ë¤È¤È¤â¤Ë¡¢
948 ÊÑ¿ô¤ÎÃͤò·èÄꤹ¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
951 ¤È¤·¤Æ $1.$2¡¢¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ "mydata.data" ¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¡¢
952 $1 ¤Ï "mydata" ¤È¤¤¤¦Ãͤˤʤꡢ$2 ¤Ï "data" ¤È¤¤¤¦Ãͤˤʤ롣
955 .\"O determines the resulting mapped filename.
956 .\"O The sequences `$1', `$2', ...., `$9' are replaced by any value resulting
960 .\"O The sequence `$0' is replace by the original filename.
961 .\"O Additionally, the sequence
962 .\"O .Ql Op Ar seq1 , Ar seq2
967 .\"O is not a null string; otherwise it is replaced by
970 ¤Ï¥Þ¥Ã¥×¤µ¤ì¤¿·ë²Ì¤Î¥Õ¥¡¥¤¥ë̾¤ò·èÄꤹ¤ë¡£
971 ʸ»úÎó `$1', `$2', ...., `$9' ¤Ï¥Æ¥ó¥×¥ì¡¼¥È
973 ¤«¤éÀ¸À®¤µ¤ì¤¿ÃͤËÃÖ¤´¹¤¨¤é¤ì¤ë¡£
974 ʸ»úÎó `$0' ¤Ï¸µ¤Î¥Õ¥¡¥¤¥ë̾¤ËÃÖ¤´¹¤¨¤é¤ì¤ë¡£
976 .Ql Op Ar seq1 , Ar seq2
979 ¤¬¶õʸ»úÎó¤Ç¤Ê¤¤¾ì¹ç¤Ï
986 .\"O For example, the command
988 .\"O .Bd -literal -offset indent -compact
989 .\"O nmap $1.$2.$3 [$1,$2].[$2,file]
993 .\"O the output filename "myfile.data" for input filenames "myfile.data" and
994 .\"O "myfile.data.old", "myfile.file" for the input filename "myfile", and
995 .\"O "myfile.myfile" for the input filename ".myfile".
998 .Bd -literal -offset indent -compact
999 nmap $1.$2.$3 [$1,$2].[$2,file]
1003 ÆþÎÏ¥Õ¥¡¥¤¥ë̾ "myfile.data" ¤È "myfile.data.old" ¤ËÂФ·¤Æ
1004 ½ÐÎÏ¥Õ¥¡¥¤¥ë̾ "myfile.data" ¤ò¡¢
1005 ÆþÎÏ¥Õ¥¡¥¤¥ë̾ "myfile" ¤ËÂФ·¤Æ
1006 ½ÐÎÏ¥Õ¥¡¥¤¥ë̾ "myfile.file" ¤ò¡¢
1007 ÆþÎÏ¥Õ¥¡¥¤¥ë̾ ".myfile" ¤ËÂФ·¤Æ
1008 ½ÐÎÏ¥Õ¥¡¥¤¥ë̾ "myfile.myfile" ¤òÀ¸À®¤¹¤ë¡£
1009 .\"O Spaces may be included in
1010 .\"O .Ar outpattern ,
1011 .\"O as in the example: `nmap $1 sed "s/ *$//" > $1' .
1012 .\"O Use the `\e' character to prevent special treatment
1013 .\"O of the `$','[','[', and `,' characters.
1014 `nmap $1 sed "s/ *$//" > $1' ¤È¤¤¤¦Îã¤Î¤è¤¦¤Ë¡¢
1016 ¤Ë¥¹¥Ú¡¼¥¹¤òÆþ¤ì¤Æ¤â¹½¤ï¤Ê¤¤¡£
1017 `$', '[', '[', `,' ¤òÆüìʸ»ú¤È¤·¤Æ°·¤¤¤¿¤¯¤Ê¤¤¾ì¹ç¤Ï¡¢
1019 .It Ic ntrans Op Ar inchars Op Ar outchars
1020 .\"O Set or unset the filename character translation mechanism.
1021 .\"O If no arguments are specified, the filename character
1022 .\"O translation mechanism is unset.
1023 .\"O If arguments are specified, characters in
1024 .\"O remote filenames are translated during
1028 .\"O commands issued without a specified remote target filename.
1029 .\"O If arguments are specified, characters in
1030 .\"O local filenames are translated during
1034 .\"O commands issued without a specified local target filename.
1035 .\"O This command is useful when connecting to a
1036 .\"O .No non\- Ns Ux
1037 .\"O remote computer
1038 .\"O with different file naming conventions or practices.
1039 ¥Õ¥¡¥¤¥ë̾¤Îʸ»úÊÑ´¹µ¡Ç½¤òÀßÄꡦ²ò½ü¤¹¤ë¡£
1040 °ú¤¿ô¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤Îʸ»úÊÑ´¹µ¡Ç½¤Ï²ò½ü¤µ¤ì¤ë¡£
1041 °ú¤¿ô¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢¥ê¥â¡¼¥È¤ÎžÁ÷Àè¥Õ¥¡¥¤¥ë̾¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤
1045 ¥³¥Þ¥ó¥É¤Î¼Â¹Ô»þ¤Ë¡¢¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë̾¤¬Ê¸»úÊÑ´¹¤µ¤ì¤ë¡£
1046 ¤Þ¤¿¡¢°ú¤¿ô¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢¥í¡¼¥«¥ë¤ÎžÁ÷Àè¥Õ¥¡¥¤¥ë̾¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤
1050 ¥³¥Þ¥ó¥É¤Î¼Â¹Ô»þ¤Ë¡¢¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤¬Ê¸»úÊÑ´¹¤µ¤ì¤ë¡£
1051 ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥Õ¥¡¥¤¥ë̾¤Î̿̾µ¬Â§¤¬°Û¤Ê¤ë
1053 °Ê³°¤Î¥ê¥â¡¼¥È¥Þ¥·¥ó¤È¤ÎÀܳ»þ¤ËÌòΩ¤Ä¡£
1054 .\"O Characters in a filename matching a character in
1056 .\"O are replaced with the corresponding character in
1058 .\"O If the character's position in
1060 .\"O is longer than the length of
1062 .\"O the character is deleted from the file name.
1063 ¥Õ¥¡¥¤¥ë̾¤Ë´Þ¤Þ¤ì¤ëʸ»ú¤Ç
1065 ¤ÎÃæ¤Îʸ»ú¤Ë°ìÃפ¹¤ë¤â¤Î¤¬¡¢
1067 ¤ÎÃæ¤Ë¤¢¤ëÂбþ¤¹¤ëʸ»ú¤ÇÃÖ¤´¹¤¨¤é¤ì¤ë¡£
1069 ¤ÎÃæ¤Ç¤Îʸ»ú¤Î°ÌÃÖ¤¬
1071 ¤ÎŤµ¤ò±Û¤¨¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Îʸ»ú¤Ï¥Õ¥¡¥¤¥ë̾¤«¤éºï½ü¤µ¤ì¤ë¡£
1072 .It Ic open Ar host Op Ar port
1073 .\"O Establish a connection to the specified
1077 .\"O An optional port number may be supplied,
1080 .\"O will attempt to contact an
1082 .\"O server at that port.
1085 .\"O option is on (default),
1087 .\"O will also attempt to automatically log the user in to
1090 .\"O server (see below).
1095 ¥µ¡¼¥Ð¤È¤ÎÀܳ¤ò³ÎΩ¤¹¤ë¡£
1096 ¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¥Ý¡¼¥ÈÈÖ¹æ¤ò»ØÄꤷ¤¿¾ì¹ç¡¢
1100 ¥µ¡¼¥Ð¡¼¤ÈÀܳ¤ò»î¤ß¤ë¡£
1102 ¤¬ on (¥Ç¥Õ¥©¥ë¥È) ¤Î¾ì¹ç¡¢
1106 ¥µ¡¼¥Ð¡¼¤Ë¼«Æ°¥í¥°¥¤¥ó¤ò»î¤ß¤ë (°Ê²¼¤ò»²¾È)¡£
1108 .\"O Toggle interactive prompting.
1109 .\"O Interactive prompting
1110 .\"O occurs during multiple file transfers to allow the
1111 .\"O user to selectively retrieve or store files.
1112 .\"O If prompting is turned off (default is on), any
1116 .\"O will transfer all files, and any
1118 .\"O will delete all files.
1119 ÂÐÏÃ¥×¥í¥ó¥×¥È¤Î»ÈÍÑ¡¦ÉÔ»ÈÍѤòÀÚÂؤ¨¤ë¡£
1120 (prompt ¤¬ on ¤Î¾ì¹ç) Ê£¿ô¤Î¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë¤È¤¤Ë
1121 ¥æ¡¼¥¶¡¼¤¬ÁªÂòŪ¤Ë¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¡¦Êݸ¤Ç¤¤ë¤è¤¦¤Ë¡¢
1122 ÂÐÏÃŪ¤ÊÌ䤤¹ç¤ï¤»¤¬¹Ô¤ï¤ì¤ë¡£
1123 prompt ¤¬ off (¥Ç¥Õ¥©¥ë¥È¤Ï on) ¤Î¾ì¹ç¡¢
1127 ¤Ç¤ÏÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤¬Å¾Á÷¤µ¤ì¡¢
1129 ¤Ç¤ÏÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤ë¡£
1130 .It Ic proxy Ar ftp-command
1131 .\"O Execute an ftp command on a secondary control connection.
1132 .\"O This command allows simultaneous connection to two remote ftp
1133 .\"O servers for transferring files between the two servers.
1136 .\"O command should be an
1138 .\"O to establish the secondary control connection.
1139 .\"O Enter the command "proxy ?" to see other ftp commands executable on the
1140 .\"O secondary connection.
1141 ftp ¥³¥Þ¥ó¥É¤ò 2 ¼¡Åª¤ÊÀ©¸æÀܳ¾å¤«¤é¼Â¹Ô¤¹¤ë¡£
1142 ¤³¤Î¥³¥Þ¥ó¥É¤ò»È¤¦¤È¡¢2 ¤Ä¤Î¥ê¥â¡¼¥È FTP ¥µ¡¼¥Ð´Ö¤Ç¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë¤¿¤á¤Ë¡¢
1143 Ʊ»þ¤Ë 2 ¤Ä¤Î¥µ¡¼¥Ð¤ËÀܳ¤Ç¤¤ë¡£
1146 ¥³¥Þ¥ó¥É¤Ï¡¢2 ¼¡Åª¤ÊÀ©¸æÀܳ¤ò³ÎΩ¤¹¤ë¤¿¤á¤Î
1148 ¥³¥Þ¥ó¥É¤Ç¤¢¤ëɬÍפ¬¤¢¤ë¡£
1149 2 ¼¡Àܳ¾å¤Ç¼Â¹Ô²Äǽ¤Ê¾¤Î ftp ¥³¥Þ¥ó¥É¤ò±ÜÍ÷¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
1150 "proxy ?" ¤È¤¤¤¦¥³¥Þ¥ó¥É¤òÆþÎϤ¹¤ë¤³¤È¡£
1151 .\"O The following commands behave differently when prefaced by
1154 .\"O will not define new macros during the auto-login process,
1156 .\"O will not erase existing macro definitions,
1160 .\"O transfer files from the host on the primary control connection
1161 .\"O to the host on the secondary control connection, and
1166 .\"O transfer files from the host on the secondary control connection
1167 .\"O to the host on the primary control connection.
1168 .\"O Third party file transfers depend upon support of the ftp protocol
1170 .\"O command by the server on the secondary control connection.
1173 ¤¬Á°¤ËÃÖ¤«¤ì¤ë¤ÈÊ̤ÎÆ°ºî¤ò¤¹¤ë:
1175 ¤Ï¼«Æ°¥í¥°¥¤¥ó¤Î½èÍýÃæ¤Ë¿·¤·¤¤¥Þ¥¯¥í¤òÄêµÁ¤·¤Ê¤¤¡£
1177 ¤Ï´û¤Ë¸ºß¤¹¤ë¥Þ¥¯¥íÄêµÁ¤òºï½ü¤·¤Ê¤¤¡£
1181 ¤Ï¡¢1 ¼¡À©¸æÀܳ¤Î¥Û¥¹¥È¤«¤é 2 ¼¡À©¸æÀܳ¤Î¥Û¥¹¥È¤Ø¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë¡£
1185 ¤Ï¡¢2 ¼¡À©¸æÀܳ¤Î¥Û¥¹¥È¤«¤é 1 ¼¡À©¸æÀܳ¤Î¥Û¥¹¥È¤Ø¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë¡£
1186 Âè»°¼Ô¤Ë¤è¤ë¥Õ¥¡¥¤¥ëžÁ÷¤¬²Äǽ¤«¤É¤¦¤«¤Ï¡¢
1187 2 ¼¡À©¸æÀܳ¾å¤Î¥µ¡¼¥Ð¤¬ FTP ¥×¥í¥È¥³¥ë¤Î
1189 ¥³¥Þ¥ó¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë°Í¸¤¹¤ë¡£
1190 .It Ic put Ar local-file Op Ar remote-file
1191 .\"O Store a local file on the remote machine.
1193 .\"O .Ar remote-file
1194 .\"O is left unspecified, the local file name is used
1195 .\"O after processing according to any
1200 .\"O in naming the remote file.
1201 .\"O File transfer uses the
1202 .\"O current settings for
1207 .\"O .Ic structure .
1208 ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤ËÊݸ¤¹¤ë¡£
1211 ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ
1215 ¤ÎÀßÄê¤Ë´ð¤Å¤¤¤Æ½èÍý¤·¤¿¸å¤Î¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤¬»È¤ï¤ì¤ë¡£
1221 ¤Î¸½ºß¤ÎÀßÄ꤬»È¤ï¤ì¤ë¡£
1223 .\"O Print the name of the current working directory on the remote
1225 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥«¥ì¥ó¥È¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê̾¤òɽ¼¨¤¹¤ë¡£
1231 .It Ic quote Ar arg1 arg2 ...
1232 .\"O The arguments specified are sent, verbatim, to the remote
1235 »ØÄꤵ¤ì¤¿°ú¤¿ô¤ò¤½¤Î¤Þ¤Þ
1238 .It Ic recv Ar remote-file Op Ar local-file
1239 .\"O A synonym for get.
1242 .It Ic reget Ar remote-file Op Ar local-file
1243 .\"O Reget acts like get, except that if
1247 .\"O .Ar remote-file ,
1249 .\"O is presumed to be
1250 .\"O a partially transferred copy of
1251 .\"O .Ar remote-file
1252 .\"O and the transfer
1253 .\"O is continued from the apparent point of failure.
1255 .\"O is useful when transferring very large files over networks that
1256 .\"O are prone to dropping connections.
1259 ¤¿¤À¤·¡¢¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë
1261 ¤¬Â¸ºß¤·¤Æ¤¤¤ë¤¬¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë
1263 ¤è¤ê¾®¤µ¤¤¤È¤¤¤¦¾ì¹ç¡¢¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë
1267 ¤ÎÉôʬŪ¤ËžÁ÷¤µ¤ì¤¿¥³¥Ô¡¼¤Ç¤¢¤ë¤È¸«Ðö¤·¡¢
1268 žÁ÷¤Î¼ºÇÔ¤¬¸«¤Ä¤«¤Ã¤¿°ÌÃÖ¤«¤éžÁ÷¤ò³¹Ô¤¹¤ë¡£
1269 ¤³¤Î¥³¥Þ¥ó¥É¤ÏÈó¾ï¤ËÂ礤ʥե¡¥¤¥ë¤ò
1270 Àܳ¤¬ÀÚ¤ì¤ä¤¹¤¤¥Í¥Ã¥È¥ï¡¼¥¯¾å¤ÇžÁ÷¤¹¤ë¾ì¹ç¤ËÌòΩ¤Ä¡£
1271 .It Ic remotehelp Op Ar command-name
1272 .\"O Request help from the remote
1276 .\"O .Ar command-name
1277 .\"O is specified it is supplied to the server as well.
1280 ¥µ¡¼¥Ð¤ËÂФ·¤Æ¥Ø¥ë¥×¥á¥Ã¥»¡¼¥¸¤òÍ׵᤹¤ë¡£
1283 ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢¤½¤Î¥³¥Þ¥ó¥É̾¤Ï¥µ¡¼¥Ð¤Ë¤âÁ÷¤é¤ì¤ë
1284 (¥µ¡¼¥Ð¤Ë¤½¤Î¥³¥Þ¥ó¥É¤Î¥Ø¥ë¥×¤òÍ׵᤹¤ë)¡£
1285 .It Ic remotestatus Op Ar file-name
1286 .\"O With no arguments, show status of remote machine.
1289 .\"O is specified, show status of
1291 .\"O on remote machine.
1292 °ú¤¿ô¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥ê¥â¡¼¥È¥Þ¥·¥ó¤Î¾õÂÖ¤òɽ¼¨¤¹¤ë¡£
1295 ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë
1303 .\"O Rename the file
1305 .\"O on the remote machine, to the file
1311 ¤È¤¤¤¦¥Õ¥¡¥¤¥ë̾¤ËÊѹ¹¤¹¤ë¡£
1313 .\"O Clear reply queue.
1314 .\"O This command re-synchronizes command/reply sequencing with the remote
1316 .\"O Resynchronization may be necessary following a violation of the ftp protocol
1317 .\"O by the remote server.
1318 ±þÅú¥¥å¡¼¤ò¥¯¥ê¥¢¤¹¤ë¡£
1319 ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥ê¥â¡¼¥È¤Î FTP ¥µ¡¼¥Ð¤È¤Î´Ö¤Ç
1320 ¥³¥Þ¥ó¥É¤È±þÅú¤Î¥·¡¼¥±¥ó¥¹¤òºÆƱ´ü¤µ¤»¤ë¡£
1321 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Ë¤è¤ë FTP ¥×¥í¥È¥³¥ë°ãÈ¿¤¬¤¢¤Ã¤¿¾ì¹ç¡¢
1322 ¤½¤Î¸å¤ËºÆƱ´ü¤¬É¬Íפˤʤ뤳¤È¤¬¤¢¤ë¡£
1323 .It Ic restart Ar marker
1324 .\"O Restart the immediately following
1333 .\"O systems, marker is usually a byte
1334 .\"O offset into the file.
1343 ¥·¥¹¥Æ¥à¤Ç¤Ï¡¢Ä̾ï marker ¤Ï¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥È¥ª¥Õ¥»¥Ã¥È¤Ç¤¢¤ë¡£
1344 .It Ic rmdir Ar directory-name
1345 .\"O Delete a directory on the remote machine.
1346 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü¤¹¤ë¡£
1348 .\"O Toggle storing of files on the local system with unique filenames.
1349 .\"O If a file already exists with a name equal to the target
1350 .\"O local filename for a
1354 .\"O command, a ".1" is appended to the name.
1355 .\"O If the resulting name matches another existing file,
1356 .\"O a ".2" is appended to the original name.
1357 .\"O If this process continues up to ".99", an error
1358 .\"O message is printed, and the transfer does not take place.
1359 .\"O The generated unique filename will be reported.
1362 .\"O will not affect local files generated from a shell command
1364 .\"O The default value is off.
1365 °ì°Õ¤Ê¥Õ¥¡¥¤¥ë̾¤Ç¥í¡¼¥«¥ë¥·¥¹¥Æ¥à¤ËÊݸ¤¹¤ë¤«Èݤ«¤òÀÚÂؤ¨¤ë¡£
1369 ¥³¥Þ¥ó¥É¤Ë¤è¤ëžÁ÷Àè¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤È
1370 Ʊ¤¸Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤¬´û¤Ë¸ºß¤¹¤ë¾ì¹ç¡¢
1371 žÁ÷Àè¥Õ¥¡¥¤¥ë̾¤Ë ".1" ¤¬Éղ䵤ì¤ë¡£
1372 ¤½¤Î¥Õ¥¡¥¤¥ë̾¤â´û¤Ë¸ºß¤¹¤ë¥Õ¥¡¥¤¥ë̾¤È°ìÃפ¹¤ë¾ì¹ç¡¢
1373 ¸µ¤Î¥Õ¥¡¥¤¥ë̾¤Ë ".2" ¤¬Éղ䵤ì¤ë¡£
1374 ¤³¤Î½èÍý¤¬ ".99" ¤Þ¤Ç³¤¤¤¿¾ì¹ç¡¢
1375 ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¡¢Å¾Á÷¤Ï¹Ô¤ï¤ì¤Ê¤¤¡£
1376 À¸À®¤µ¤ì¤¿°ì°Õ¤Ê¥Õ¥¡¥¤¥ë̾¤¬É½¼¨¤µ¤ì¤ë¡£
1378 ¤Ï¥·¥§¥ë¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤ë¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë (°Ê²¼¤ò»²¾È) ¤Ë¤Ï
1379 ±Æ¶Á¤·¤Ê¤¤ÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
1380 ¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï off ¤Ç¤¢¤ë¡£
1381 .It Ic send Ar local-file Op Ar remote-file
1382 .\"O A synonym for put.
1386 .\"O Toggle the use of
1391 .\"O will attempt to use a
1393 .\"O command when establishing
1394 .\"O a connection for each data transfer.
1397 .\"O commands can prevent delays
1398 .\"O when performing multiple file transfers.
1403 .\"O will use the default data port.
1404 .\"O When the use of
1406 .\"O commands is disabled, no attempt will be made to use
1408 .\"O commands for each data transfer.
1412 .\"O implementations which do ignore
1414 .\"O commands but, incorrectly, indicate they've been accepted.
1416 ¥³¥Þ¥ó¥É¤Î»ÈÍÑ¡¦ÉÔ»ÈÍѤòÀÚÂؤ¨¤ë¡£
1419 ¤Ï¥Ç¡¼¥¿Å¾Á÷¤Î¤¿¤á¤ÎÀܳ¤ò³ÎΩ¤¹¤ë¤¿¤á
1421 ¥³¥Þ¥ó¥É¤ò»È¤ª¤¦¤È¤¹¤ë¡£
1423 ¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¡¢Ê£¿ô¤Î¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë¾ì¹ç¤ËÃÙ±ä¤òÈò¤±¤ë¤³¤È¤¬¤Ç¤¤ë¡£
1425 ¥³¥Þ¥ó¥É¤¬¼ºÇÔ¤·¤¿¾ì¹ç¡¢
1427 ¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¡¼¥¿¥Ý¡¼¥È¤ò»È¤¦¡£
1429 ¥³¥Þ¥ó¥É¤¬ off ¤Î¾ì¹ç¡¢¥Ç¡¼¥¿Å¾Á÷¤Ë
1431 ¥³¥Þ¥ó¥É¤ò»È¤ª¤¦¤È»î¤ß¤Ê¤¤¡£
1434 ¥³¥Þ¥ó¥É¤ò̵»ë¤¹¤ë¤Ë¤â¤«¤«¤ï¤é¤º¡¢
1435 ¼õ¤±ÉÕ¤±¤ë¤È´Ö°ã¤Ã¤ÆÊÖÅú¤¹¤ë¤è¤¦¤Ê
1437 ¤Î¼ÂÁõ¤Î¾ì¹ç¤ËÌòΩ¤Ä¡£
1438 .It Ic site Ar arg1 arg2 ...
1439 .\"O The arguments specified are sent, verbatim, to the remote
1446 ¥³¥Þ¥ó¥É¤Î°ú¤¿ô¤È¤·¤Æ¤½¤Î¤Þ¤Þ¥ê¥â¡¼¥È¤Î
1449 .It Ic size Ar file-name
1452 .\"O on remote machine.
1453 ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥¡¥¤¥ë
1457 .\"O .\"O .\"O Show the current status of
1460 ¤Î¸½ºß¤Î¾õÂÖ¤òɽ¼¨¤¹¤ë¡£
1461 .It Ic struct Op Ar struct-name
1462 .\"O Set the file transfer
1465 .\"O .Ar struct-name .
1466 .\"O By default \*(Lqstream\*(Rq structure is used.
1472 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢\*(Lqstream\*(Rq ¹½Â¤¤¬»È¤ï¤ì¤ë¡£
1474 .\"O Toggle storing of files on remote machine under unique file names.
1475 .\"O Remote ftp server must support ftp protocol
1478 .\"O successful completion.
1479 .\"O The remote server will report unique name.
1480 .\"O Default value is off.
1481 °ì°Õ¤Ê¥Õ¥¡¥¤¥ë̾¤Ç¥ê¥â¡¼¥È·×»»µ¡¾å¤Ë¥Õ¥¡¥¤¥ë¤òÊݸ¤¹¤ë¤«Èݤ«¤òÀÚÂؤ¨¤ë¡£
1482 ¤³¤Îµ¡Ç½¤¬»È¤¨¤ë¤¿¤á¤Ë¤Ï¡¢¥ê¥â¡¼¥È¤Î FTP ¥µ¡¼¥Ð¤¬ FTP ¥×¥í¥È¥³¥ë¤Î
1484 ¥³¥Þ¥ó¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1485 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Ï°ì°Õ¤Ê¥Õ¥¡¥¤¥ë̾¤òɽ¼¨¤¹¤ë¡£
1486 ¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï off ¤Ç¤¢¤ë¡£
1488 .\"O Show the type of operating system running on the remote machine.
1489 ¥ê¥â¡¼¥È¥Þ¥·¥ó¤Ç²ÔƯ¤·¤Æ¤¤¤ë OS ¤Î¥¿¥¤¥×¤òɽ¼¨¤¹¤ë¡£
1491 .\"O Set the file transfer type to that needed to
1496 ¥Þ¥·¥ó¤ÈÄÌ¿®¤¹¤ë¤¿¤á¤ËɬÍפʥե¡¥¤¥ëžÁ÷¥¿¥¤¥×¤Ë type ¤òÀßÄꤹ¤ë¡£
1498 .\"O Toggle packet tracing.
1499 ¥Ñ¥±¥Ã¥È¥È¥ì¡¼¥¹¤Î»ÈÍÑ¡¦ÉÔ»ÈÍѤòÀÚÂؤ¨¤ë¡£
1500 .It Ic type Op Ar type-name
1501 .\"O Set the file transfer
1504 .\"O .Ar type-name .
1505 .\"O If no type is specified, the current type
1507 .\"O The default type is network
1509 ¥Õ¥¡¥¤¥ëžÁ÷¤Î¥¿¥¤¥×
1514 type ¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢¸½ºß¤Î type ¤¬É½¼¨¤µ¤ì¤ë¡£
1515 ¥Ç¥Õ¥©¥ë¥È¤Î type ¤Ï¥Í¥Ã¥È¥ï¡¼¥¯
1518 .It Ic umask Op Ar newmask
1519 .\"O Set the default umask on the remote server to
1523 .\"O is ommitted, the current umask is printed.
1524 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Î¥Ç¥Õ¥©¥ë¥È¤Î umask ¤ò
1528 ¤ò¾Êά¤¹¤ë¤È¡¢¸½ºß¤Î umask ¤¬É½¼¨¤µ¤ì¤ë¡£
1530 .Ic user Ar user-name
1534 .\"O Identify yourself to the remote
1539 .\"O is not specified and the server requires it,
1541 .\"O will prompt the user for it (after disabling local echo).
1544 ¥µ¡¼¥Ð¤Ë¥æ¡¼¥¶¡¼¤ò¼±Ê̤µ¤»¤ë¡£
1547 ¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢¤«¤Ä¥µ¡¼¥Ð¤¬¥Ñ¥¹¥ï¡¼¥É¤òɬÍפȤ¹¤ë¾ì¹ç¡¢
1549 ¤Ï (¥í¡¼¥«¥ë¥¨¥³¡¼¤ò¥ª¥Õ¤Ë¤·¤Æ¤«¤é) ¥æ¡¼¥¶¡¼¤Ë¥Ñ¥¹¥ï¡¼¥É¤òÌ䤤¹ç¤ï¤»¤ë¡£
1552 .\"O field is not specified, and the
1555 .\"O requires it, the user will be prompted for it.
1556 ¥¢¥«¥¦¥ó¥È¥Õ¥£¡¼¥ë¥É
1558 ¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢¤«¤Ä
1560 ¥µ¡¼¥Ð¤¬¥¢¥«¥¦¥ó¥È¤òɬÍפȤ·¤Æ¤¤¤ë¾ì¹ç¡¢¥æ¡¼¥¶¡¼¤Ï¥¢¥«¥¦¥ó¥È¤ò¿Ò¤Í¤é¤ì¤ë¡£
1563 .\"O field is specified, an account command will
1564 .\"O be relayed to the remote server after the login sequence
1565 .\"O is completed if the remote server did not require it
1566 .\"O for logging in.
1567 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬¥í¥°¥¤¥ó¤Ë¥¢¥«¥¦¥ó¥È¤òɬÍפȤ·¤Ê¤¤¾ì¹ç¡¢
1568 ¥¢¥«¥¦¥ó¥È¥Õ¥£¡¼¥ë¥É
1570 ¤¬»ØÄꤵ¤ì¤ë¤È¡¢¥í¥°¥¤¥ó½èÍý¤Î´°Î»¸å¤Ë
1571 account ¥³¥Þ¥ó¥É¤¬¥ê¥â¡¼¥È¥µ¡¼¥Ð¤ËÅϤµ¤ì¤ë¡£
1574 .\"O is invoked with \*(Lqauto-login\*(Rq disabled, this
1575 .\"O process is done automatically on initial connection to
1580 ¤¬ \*(Lq¼«Æ°¥í¥°¥¤¥ó (auto-login)\*(Rq ¤ò off ¤Ë¤·¤Æµ¯Æ°¤µ¤ì¤Ê¤¤¸Â¤ê¡¢
1583 ¥µ¡¼¥Ð¤ËºÇ½é¤ËÀܳ¤µ¤ì¤¿¤È¤¤Ë¼«Æ°Åª¤Ë¹Ô¤ï¤ì¤ë¡£
1585 .\"O Toggle verbose mode.
1586 .\"O In verbose mode, all responses from
1589 .\"O server are displayed to the user.
1591 .\"O if verbose is on, when a file transfer completes, statistics
1592 .\"O regarding the efficiency of the transfer are reported.
1595 ¾ÜºÙɽ¼¨¥â¡¼¥É¤òÀÚÂؤ¨¤ë¡£¾ÜºÙɽ¼¨¥â¡¼¥É¤Î¾ì¹ç¡¢
1597 ¥µ¡¼¥Ð¤«¤é¤ÎÁ´¤Æ¤Î±þÅú¤¬É½¼¨¤µ¤ì¤ë¡£
1598 ¤µ¤é¤Ë¾ÜºÙɽ¼¨¥â¡¼¥É¤¬ on ¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ëžÁ÷¤¬´°Î»¤¹¤ë¤È¡¢
1599 žÁ÷¸úΨ¤Ë´Ø¤¹¤ëÅý·×¤¬Êó¹ð¤µ¤ì¤ë¡£
1600 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¾ÜºÙɽ¼¨¥â¡¼¥É¤Ï on ¤Ç¤¢¤ë¡£
1601 .It Ic ? Op Ar command
1602 .\"O A synonym for help.
1607 .\"O Command arguments which have embedded spaces may be quoted with
1608 .\"O quote `"' marks.
1609 ¥¹¥Ú¡¼¥¹¤ò´Þ¤à¥³¥Þ¥ó¥É°ú¤¿ô¤Ï¡¢°úÍѵ¹æ `"' ¤Ç³ç¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1610 .\"O .Sh ABORTING A FILE TRANSFER
1611 .Sh ¥Õ¥¡¥¤¥ëžÁ÷¤ÎÃæ»ß
1612 .\"O To abort a file transfer, use the terminal interrupt key
1613 .\"O (usually Ctrl-C).
1614 .\"O Sending transfers will be immediately halted.
1615 .\"O Receiving transfers will be halted by sending a ftp protocol
1617 .\"O command to the remote server, and discarding any further data received.
1618 .\"O The speed at which this is accomplished depends upon the remote
1619 .\"O server's support for
1622 .\"O If the remote server does not support the
1626 .\"O prompt will not appear until the remote server has completed
1627 .\"O sending the requested file.
1628 ¥Õ¥¡¥¤¥ëžÁ÷¤òÃæ»ß¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
1629 üËö¤Î¥¤¥ó¥¿¥é¥×¥È¥¡¼ (Ä̾ï¤Ï Ctrl-C) ¤ò»È¤¦¤³¤È¡£
1630 ¥Ç¡¼¥¿Á÷¿®¤Ïľ¤Á¤ËÄä»ß¤¹¤ë¡£
1631 ¥Ç¡¼¥¿¼õ¿®¤Ï FTP ¥×¥í¥È¥³¥ë¤Î
1633 ¥³¥Þ¥ó¥É¤ò¥ê¥â¡¼¥È¥µ¡¼¥Ð¤ËÁ÷¿®¤¹¤ë¤³¤È¤ÇÄä»ß¤·¡¢
1634 ¤½¤ì°Ê¹ß¤Î¥Ç¡¼¥¿¤ÏÇË´þ¤µ¤ì¤ë¡£
1635 ¤³¤ì¤¬¹Ô¤ï¤ì¤ë¥¹¥Ô¡¼¥É¤Ï¡¢¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Î
1637 ¥³¥Þ¥ó¥É½èÍý¤Îµ¡Ç½¤Ë°Í¸¤¹¤ë¡£
1640 ¥³¥Þ¥ó¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
1641 Í׵ᤷ¤¿¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬Á÷¿®¤·¤ª¤ï¤ë¤Þ¤Ç
1643 ¤È¤¤¤¦¥×¥í¥ó¥×¥È¤Ï¸½¤ì¤Ê¤¤¡£
1645 .\"O The terminal interrupt key sequence will be ignored when
1647 .\"O has completed any local processing and is awaiting a reply
1648 .\"O from the remote server.
1649 .\"O A long delay in this mode may result from the ABOR processing described
1650 .\"O above, or from unexpected behavior by the remote server, including
1651 .\"O violations of the ftp protocol.
1652 .\"O If the delay results from unexpected remote server behavior, the local
1654 .\"O program must be killed by hand.
1656 ¤¬¥í¡¼¥«¥ë¤Î½èÍý¤ò´°Î»¤·¡¢¥ê¥â¡¼¥È¥µ¡¼¥Ð¤«¤é¤Î±þÅú¤òÂԤäƤ¤¤ë¾ì¹ç¡¢
1657 üËö¤«¤é¤Î¥¤¥ó¥¿¥é¥×¥È¥¡¼Ê¸»úÎó¤Ï̵»ë¤µ¤ì¤ë¡£
1658 ¤³¤Î¥â¡¼¥É¤Ç¤ÎŤ¤ÃÙ±ä¤Ï¡¢¾å¤Ç½Ò¤Ù¤¿ ABOR ½èÍý¤Ë¤è¤ë¤â¤Î¤«¡¢
1659 FTP ¥×¥í¥È¥³¥ë°ãÈ¿¤ò´Þ¤á¤¿¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Îͽ´ü¤»¤ÌÆ°ºî¤Ë¤è¤ë¤â¤Î¤Ç¤¢¤ë¡£
1660 ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Îͽ´ü¤»¤ÌÆ°ºî¤Î·ë²Ì¤Ë¤è¤ëÃÙ±ä¤Î¾ì¹ç¡¢¥í¡¼¥«¥ë¤Î
1662 ¥×¥í¥°¥é¥à¤Ï¼êÆ°¤Ç½ªÎ» (kill) ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1663 .\"O .Sh FILE NAMING CONVENTIONS
1664 .Sh ¥Õ¥¡¥¤¥ë̾¤ÎÊÑ´¹
1665 .\"O Files specified as arguments to
1667 .\"O commands are processed according to the following rules.
1669 ¤Î°ú¤¿ô¤È¤·¤Æ»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë̾¤Ï¡¢°Ê²¼¤Îµ¬Â§¤Ë½¾¤Ã¤ÆÊѹ¹¤µ¤ì¤ë¡£
1672 .\"O If the file name
1674 .\"O is specified, the
1676 .\"O (for reading) or
1678 .\"O (for writing) is used.
1681 ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢(Æɤ߹þ¤ß¤È¤·¤Æ)
1683 ¤¬¡¢(½ñ¤½Ð¤·¤È¤·¤Æ)
1687 .\"O If the first character of the file name is
1690 .\"O remainder of the argument is interpreted as a shell command.
1692 .\"O then forks a shell, using
1694 .\"O with the argument supplied, and reads (writes) from the stdout
1696 .\"O If the shell command includes spaces, the argument
1697 .\"O must be quoted; e.g.
1698 .\"O \*(Lq" ls -lt"\*(Rq.
1700 .\"O useful example of this mechanism is: \*(Lqdir more\*(Rq.
1701 ¥Õ¥¡¥¤¥ë̾¤ÎºÇ½é¤Îʸ»ú¤¬
1703 ¤Î¾ì¹ç¡¢»Ä¤ê¤Î°ú¤¿ô¤Ï¥·¥§¥ë¥³¥Þ¥ó¥É¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¡£
1706 ¤ÏÍ¿¤¨¤é¤ì¤¿°ú¤¿ô¤ò
1708 ¤ËÅϤ·¤Æ¥·¥§¥ë¤ò fork ¤·¡¢stdout ¤òÆɤ߹þ¤ß¡¢stdin ¤Ë½ñ¤½Ð¤¹¡£
1709 ¥·¥§¥ë¥³¥Þ¥ó¥É¤¬¥¹¥Ú¡¼¥¹¤ò´Þ¤à¾ì¹ç¡¢
1711 ¤Î¤è¤¦¤Ë°ú¤¿ô¤ò¥¯¥©¡¼¥È¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1712 ¤³¤Îµ¡¹½¤ÎÆäËÌòΩ¤ÄÎã¤È¤·¤Æ¤Ï¡¢\*(Lqdir more\*(Rq ¤¬¤¢¤ë¡£
1714 .\"O Failing the above checks, if ``globbing'' is enabled,
1715 .\"O local file names are expanded
1716 .\"O according to the rules used in the
1723 .\"O command expects a single local file (.e.g.
1725 .\"O only the first filename generated by the "globbing" operation is used.
1726 ¾åµ¤Î¥Á¥§¥Ã¥¯¤Ë¤Ò¤Ã¤«¤«¤é¤º¡¢¥Õ¥¡¥¤¥ë̾Ÿ³« ``glob'' ¤¬ on ¤Î¾ì¹ç¡¢
1727 ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤Ï
1729 ¤Ç»È¤ï¤ì¤ëµ¬Â§¤Ë´ð¤Å¤¤¤ÆŸ³«¤µ¤ì¤ë¡£
1731 ¥³¥Þ¥ó¥É¤ò»²¾È¤¹¤ë¤³¤È¡£
1733 ¥³¥Þ¥ó¥É¤¬ 1 ¤Ä¤·¤«¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤òɬÍפȤ·¤Ê¤¤¾ì¹ç (Î㤨¤Ð
1735 ¤Î¾ì¹ç)¡¢¡Ö¥Õ¥¡¥¤¥ë̾Ÿ³«¡×Áàºî¤ÇÀ¸À®¤µ¤ì¤¿ºÇ½é¤Î¥Õ¥¡¥¤¥ë̾¤Î¤ß¤¬»È¤ï¤ì¤ë¡£
1741 .\"O commands with unspecified local file names, the local filename is
1742 .\"O the remote filename, which may be altered by a
1748 .\"O The resulting filename may then be altered if
1754 ¥³¥Þ¥ó¥É¤Ë¤ª¤¤¤Æ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
1755 ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤Ï¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë̾¤ÈƱ¤¸¤Ç¤¢¤ë¤¬¡¢
1759 ¤ÎÀßÄê¤Ë¤è¤Ã¤ÆÊѹ¹¤µ¤ì¤ë¤³¤È¤¬¤¢¤ë¡£
1761 ¤¬ on ¤Î¾ì¹ç¡¢·ë²Ì¤È¤·¤ÆÆÀ¤é¤ì¤ë¥Õ¥¡¥¤¥ë̾¤¬Êѹ¹¤µ¤ì¤ë¤³¤È¤¬¤¢¤ë¡£
1767 .\"O commands with unspecified remote file names, the remote filename is
1768 .\"O the local filename, which may be altered by a
1773 .\"O The resulting filename may then be altered by the remote server if
1779 ¥³¥Þ¥ó¥É¤Ë¤ª¤¤¤Æ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë̾¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
1780 ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë̾¤Ï¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤ÈƱ¤¸¤Ç¤¢¤ë¤¬¡¢
1784 ¤ÎÀßÄê¤Ë¤è¤Ã¤ÆÊѹ¹¤µ¤ì¤ë¤³¤È¤¬¤¢¤ë¡£
1786 ¤¬ on ¤Î¾ì¹ç¡¢·ë²Ì¤È¤·¤ÆÆÀ¤é¤ì¤ë¥Õ¥¡¥¤¥ë̾¤¬
1787 ¥µ¡¼¥Ð¤Ë¤è¤Ã¤Æ¹¹¤ËÊѹ¹¤µ¤ì¤ë¤³¤È¤¬¤¢¤ë¡£
1789 .\"O .Sh FILE TRANSFER PARAMETERS
1790 .Sh ¥Õ¥¡¥¤¥ëžÁ÷¥Ñ¥é¥á¡¼¥¿
1791 .\"O The FTP specification specifies many parameters which may
1792 .\"O affect a file transfer.
1795 .\"O may be one of \*(Lqascii\*(Rq, \*(Lqimage\*(Rq (binary),
1796 .\"O \*(Lqebcdic\*(Rq, and \*(Lqlocal byte size\*(Rq (for
1797 .\"O .Tn PDP Ns -10's
1799 .\"O .Tn PDP Ns -20's
1802 .\"O supports the ascii and image types of file transfer,
1803 .\"O plus local byte size 8 for
1805 .\"O mode transfers.
1806 FTP ¤Î»ÅÍͤˤϥե¡¥¤¥ëžÁ÷¤Ë±Æ¶Á¤òµÚ¤Ð¤¹Â¿¤¯¤Î¥Ñ¥é¥á¡¼¥¿¤¬¤¢¤ë¡£
1808 ¤Ï \*(Lqascii\*(Rq, \*(Lqimage\*(Rq (binary),
1809 \*(Lqebcdic\*(Rq, \*(Lqlocal byte size\*(Rq (
1813 ¤Ç¤è¤¯»È¤ï¤ì¤ë) ¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ë¡£
1815 ascii ¥¿¥¤¥×¤È image ¥¿¥¤¥×¤Î¥Õ¥¡¥¤¥ëžÁ÷¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£
1818 ¥â¡¼¥ÉžÁ÷¤Î¤¿¤á¤Ë¥í¡¼¥«¥ë¥Ð¥¤¥È¥µ¥¤¥º 8 ¤Î¥Õ¥¡¥¤¥ëžÁ÷¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£
1821 .\"O supports only the default values for the remaining
1822 .\"O file transfer parameters:
1829 ¤Ï¾¤Î¥Õ¥¡¥¤¥ëžÁ÷¥Ñ¥é¥á¡¼¥¿
1833 ¤Ë¤Ä¤¤¤Æ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÃͤ·¤«»È¤¨¤Ê¤¤¡£
1834 .\"O .Sh ENVIRONMENT
1837 .\"O utilizes the following environment variables.
1839 ¤Ï°Ê²¼¤Î´Ä¶ÊÑ¿ô¤ò»ÈÍѤ¹¤ë¡£
1842 .\"O For default location of a
1844 .\"O file, if one exists.
1846 ¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Î¾ì½ê¡£
1848 .\"O For default shell.
1849 ¥Ç¥Õ¥©¥ë¥È¤Î¥·¥§¥ë¡£
1859 .\"O command appeared in
1867 .\"O Correct execution of many commands depends upon proper behavior
1868 .\"O by the remote server.
1869 ¥³¥Þ¥ó¥É¤¬Àµ¤·¤¯Æ°ºî¤¹¤ë¤«¤Ï¡¢¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬Å¬ÀÚ¤ËÆ°ºî¤¹¤ë¤«¤Ë°Í¸¤¹¤ë¡£
1871 .\"O An error in the treatment of carriage returns
1874 .\"O ascii-mode transfer code
1875 .\"O has been corrected.
1877 ¤Î ascii ¥¿¥¤¥×žÁ÷¤Î¥½¡¼¥¹¥³¡¼¥É¤Ë¤¢¤Ã¤¿
1878 ¥¥ã¥ê¥Ã¥¸¥ê¥¿¡¼¥ó¤Î°·¤¤¤Ë´Ø¤¹¤ë¥¨¥é¡¼¤¬ÄûÀµ¤µ¤ì¤¿¡£
1879 .\"O This correction may result in incorrect transfers of binary files
1882 .\"O servers using the ascii type.
1883 .\"O Avoid this problem by using the binary image type.
1884 ¤³¤ÎÄûÀµ¤Î·ë²Ì¤È¤·¤Æ¡¢
1886 ¤Î¥µ¡¼¥Ð¤È¤Î´Ö¤Ç¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤ò ascii ¥¿¥¤¥×¤ÇžÁ÷¤¹¤ë¤È¡¢
1887 žÁ÷¤Ë¸í¤ê¤¬µ¯¤³¤ë¡£
1888 ¤³¤ÎÌäÂê¤òÈò¤±¤ë¤¿¤á¤Ë¤Ï¡¢binary image ¥¿¥¤¥×¤ò»È¤¦¤³¤È¡£
1890 ¤³¤Î man ¥Ú¡¼¥¸¤ÎËÝÌõ¤Ë¤¢¤¿¤ê¡¢
1891 FreeBSD jpman project <http://www.jp.freebsd.org/man-jp/>
1892 ¤Ë¤è¤ëËÝÌõ¤ò»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤¤¿¡£