summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-13 03:21:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-13 03:21:19 +0000
commitebfecc46b680789468747c3366d2a72976faef80 (patch)
tree430ebf582d940fa028b592f41f20ee6f7b61ff22 /usr.bin/ftp
parentd26f2dc7c14d823942b561759e20d9f5696a2523 (diff)
document our extensions
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/ftp.112
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/ftp/ftp.1 b/usr.bin/ftp/ftp.1
index d01ecb2af10..84d16d699b5 100644
--- a/usr.bin/ftp/ftp.1
+++ b/usr.bin/ftp/ftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ftp.1,v 1.2 1996/06/26 05:33:36 deraadt Exp $
+.\" $OpenBSD: ftp.1,v 1.3 1996/09/13 03:21:18 deraadt Exp $
.\" $NetBSD: ftp.1,v 1.11 1995/09/08 01:06:24 tls Exp $
.\"
.\" Copyright (c) 1985, 1989, 1990, 1993
@@ -51,6 +51,12 @@ file transfer program
.Op Fl n
.Op Fl g
.Op Ar host
+.Nm ftp
+.Ar http://host/path/file.html
+.Nm ftp
+.Ar ftp://host/path/file.tar.gz
+.Nm ftp
+.Ar host:/path/file.tar.gz
.Sh DESCRIPTION
.Nm Ftp
is the user interface to the
@@ -59,6 +65,10 @@ standard File Transfer Protocol.
The program allows a user to transfer files to and from a
remote network site.
.Pp
+The latter three usage formats will fetch a file using either the
+HTTP or FTP protocols into the current directory.
+This is ideal for scripts.
+.Pp
Options may be specified at the command line, or to the
command interpreter.
.Bl -tag -width flag