Print this page
5069 Removal of wu-ftpd
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Adam Stevko <adam.stevko@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/ftp.1
          +++ new/usr/src/man/man1/ftp.1
↓ open down ↓ 7 lines elided ↑ open up ↑
   8    8  .SH NAME
   9    9  ftp \- file transfer program
  10   10  .SH SYNOPSIS
  11   11  .LP
  12   12  .nf
  13   13  \fBftp\fR [\fB-adfginpstvx\fR] [\fB-m\fR \fIGSS Mech\fR] [\fB-T\fR \fItimeout\fR]
  14   14       [\fIhostname\fR [\fIport\fR]]
  15   15  .fi
  16   16  
  17   17  .SH DESCRIPTION
  18      -.sp
  19   18  .LP
  20   19  The \fBftp\fR command is the user interface to the \fBInternet\fR standard File
  21   20  Transfer Protocol (\fBFTP\fR). \fBftp\fR transfers files to and from a remote
  22   21  network site.
  23   22  .sp
  24   23  .LP
  25   24  The host and optional port with which \fBftp\fR is to communicate can be
  26   25  specified on the command line. If this is done, \fBftp\fR immediately attempts
  27   26  to establish a connection to an \fBFTP\fR server on that host. Otherwise,
  28   27  \fBftp\fR enters its command interpreter and awaits instructions from the user.
  29   28  When \fBftp\fR is awaiting commands from the user, it displays the prompt
  30   29  \fBftp>\fR.
  31   30  .SH OPTIONS
  32      -.sp
  33   31  .LP
  34   32  The following options can be specified at the command line, or to the command
  35   33  interpreter:
  36   34  .sp
  37   35  .ne 2
  38   36  .na
  39   37  \fB\fB-a\fR\fR
  40   38  .ad
  41   39  .RS 14n
  42   40  Uses \fBGSSAPI\fR authentication \fBonly\fR. If the authentication fails, this
↓ open down ↓ 1065 lines elided ↑ open up ↑
1108 1106  
1109 1107  .sp
1110 1108  .LP
1111 1109  Command arguments which have embedded spaces can be quoted with quote (\fB"\fR)
1112 1110  marks.
1113 1111  .sp
1114 1112  .LP
1115 1113  If any command argument which is not indicated as being optional is not
1116 1114  specified, \fBftp\fR prompts for that argument.
1117 1115  .SH ABORTING A FILE TRANSFER
1118      -.sp
1119 1116  .LP
1120 1117  To abort a file transfer, use the terminal interrupt key. Sending transfers is
1121 1118  immediately halted. Receiving transfers are halted by sending an \fBFTP\fR
1122 1119  protocol \fBABOR\fR command to the remote server, and discarding any further
1123 1120  data received. The speed at which this is accomplished depends upon the remote
1124 1121  server's support for \fBABOR\fR processing. If the remote server does not
1125 1122  support the \fBABOR\fR command, an \fBftp>\fR prompt does not appear until the
1126 1123  remote server has completed sending the requested file.
1127 1124  .sp
1128 1125  .LP
1129 1126  The terminal interrupt key sequence is ignored when \fBftp\fR has completed any
1130 1127  local processing and is awaiting a reply from the remote server. A long delay
1131 1128  in this mode can result from the \fBABOR\fR processing described above, or from
1132 1129  unexpected behavior by the remote server, including violations of the ftp
1133 1130  protocol. If the delay results from unexpected remote server behavior, the
1134 1131  local \fBftp\fR program must be killed by hand.
1135 1132  .SH FILE NAMING CONVENTIONS
1136      -.sp
1137 1133  .LP
1138 1134  Local files specified as arguments to \fBftp\fR commands are processed
1139 1135  according to the following rules.
1140 1136  .sp
1141 1137  .ne 2
1142 1138  .na
1143 1139  \fB1)\fR
1144 1140  .ad
1145 1141  .RS 6n
1146 1142  If the file name \fB\(mi\fR is specified, the standard input (for reading) or
↓ open down ↓ 45 lines elided ↑ open up ↑
1192 1188  \fB5)\fR
1193 1189  .ad
1194 1190  .RS 6n
1195 1191  For \fBmput\fR commands and \fBput\fR commands with unspecified remote file
1196 1192  names, the remote filename is the local filename, which can be altered by a
1197 1193  \fBntrans\fR or \fBnmap\fR setting. The resulting filename can then be altered
1198 1194  by the remote server if \fBsunique\fR is on.
1199 1195  .RE
1200 1196  
1201 1197  .SH FILE TRANSFER PARAMETERS
1202      -.sp
1203 1198  .LP
1204 1199  The \fBFTP\fR specification specifies many parameters which can affect a file
1205 1200  transfer.
1206 1201  .sp
1207 1202  .LP
1208 1203  The "representation type" can be one of "network \fBASCII\fR", "\fBEBCDIC\fR",
1209 1204  "image", or "local byte size" with a specified byte size (for PDP-10's and
1210 1205  PDP-20's mostly). The "network \fBASCII\fR" and "\fBEBCDIC\fR" types have a
1211 1206  further subtype which specifies whether vertical format control (\fBNEWLINE\fR
1212 1207  characters, form feeds, and so on) are to be passed through ("non-print"),
↓ open down ↓ 6 lines elided ↑ open up ↑
1219 1214  .LP
1220 1215  The "file structure" can be one of \fBfile\fR (no record structure),
1221 1216  \fBrecord\fR, or \fBpage\fR. \fBftp\fR supports only the default value, which
1222 1217  is \fBfile\fR.
1223 1218  .sp
1224 1219  .LP
1225 1220  The "transfer mode" can be one of \fBstream\fR, \fBblock\fR, or
1226 1221  \fBcompressed\fR. \fBftp\fR supports only the default value, which is
1227 1222  \fBstream\fR.
1228 1223  .SH USAGE
1229      -.sp
1230 1224  .LP
1231 1225  See \fBlargefile\fR(5) for the description of the behavior of \fBftp\fR when
1232 1226  encountering files greater than or equal to 2 Gbyte (2^31 bytes).
1233 1227  .sp
1234 1228  .LP
1235 1229  The \fBftp\fR command is IPv6-enabled. See \fBip6\fR(7P).
1236 1230  .SH FILES
1237      -.sp
1238 1231  .LP
1239 1232  \fB~/.netrc\fR
1240 1233  .SH ATTRIBUTES
1241      -.sp
1242 1234  .LP
1243 1235  See \fBattributes\fR(5) for descriptions of the following attributes:
1244 1236  .sp
1245 1237  
1246 1238  .sp
1247 1239  .TS
1248 1240  box;
1249 1241  c | c
1250 1242  l | l .
1251 1243  ATTRIBUTE TYPE  ATTRIBUTE VALUE
1252 1244  _
1253 1245  CSI     enabled
1254 1246  .TE
1255 1247  
1256 1248  .SH SEE ALSO
1257      -.sp
1258 1249  .LP
1259      -\fBls\fR(1), \fBrcp\fR(1), \fBsh\fR(1), \fBtar\fR(1), \fBin.ftpd\fR(1M),
     1250 +\fBls\fR(1), \fBrcp\fR(1), \fBsh\fR(1), \fBtar\fR(1),
1260 1251  \fBpopen\fR(3C), \fBftp\fR(4), \fBftpusers\fR(4), \fBmech\fR(4),
1261 1252  \fBnetrc\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5), \fBip6\fR(7P)
1262 1253  .sp
1263 1254  .LP
1264 1255  Allman, M., Ostermann, S., and Metz, C. \fIRFC 2428, FTP Extensions for IPv6
1265 1256  and NATs\fR. The Internet Society. September 1998.
1266 1257  .sp
1267 1258  .LP
1268 1259  Lunt, S. J. \fIRFC 2228, FTP Security Extensions\fR. Internet Draft. November
1269 1260  1993.
1270 1261  .sp
1271 1262  .LP
1272 1263  Postel, Jon, and Joyce Reynolds. \fIRFC 959, File Transfer Protocol (FTP )\fR.
1273 1264  Network Information Center. October 1985.
1274 1265  .sp
1275 1266  .LP
1276 1267  Piscitello, D. \fIRFC 1639, FTP Operation Over Big Address Records (FOOBAR)\fR.
1277 1268  Network Working Group. June 1994.
1278 1269  .SH NOTES
1279      -.sp
1280 1270  .LP
1281 1271  Failure to log in can arise from an explicit denial by the remote \fBFTP\fR
1282 1272  server because the account is listed in \fB/etc/ftpusers\fR. See
1283      -\fBin.ftpd\fR(1M) and \fBftpusers\fR(4).
     1273 +\fBftpusers\fR(4).
1284 1274  .sp
1285 1275  .LP
1286 1276  Correct execution of many commands depends upon proper behavior by the remote
1287 1277  server.
1288 1278  .sp
1289 1279  .LP
1290 1280  An error in the treatment of carriage returns in the 4.2 \fBBSD\fR code
1291 1281  handling transfers with a "representation type" of "network \fBASCII\fR" has
1292 1282  been corrected. This correction can result in incorrect transfers of binary
1293 1283  files to and from 4.2 \fBBSD\fR servers using a "representation type" of
1294 1284  "network \fBASCII\fR". Avoid this problem by using the "image" type.
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX