Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/usr.bin/ftp Pullup rev 1.102-1.104 (requested by dan in...



details:   https://anonhg.NetBSD.org/src/rev/c51fc1ed51f5
branches:  netbsd-2-0
changeset: 562782:c51fc1ed51f5
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Oct 08 03:27:24 2004 +0000

description:
Pullup rev 1.102-1.104 (requested by dan in ticket #909)

Note potentially surprising file-saving behaviour in case of HTTP redirects.

diffstat:

 usr.bin/ftp/ftp.1 |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r b5fee7416ea0 -r c51fc1ed51f5 usr.bin/ftp/ftp.1
--- a/usr.bin/ftp/ftp.1 Fri Oct 08 03:25:57 2004 +0000
+++ b/usr.bin/ftp/ftp.1 Fri Oct 08 03:27:24 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ftp.1,v 1.101 2003/12/19 03:46:02 lukem Exp $
+.\"    $NetBSD: ftp.1,v 1.101.2.1 2004/10/08 03:27:24 jmc Exp $
 .\"
 .\" Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -64,7 +64,7 @@
 .\"
 .\"    @(#)ftp.1       8.3 (Berkeley) 10/9/94
 .\"
-.Dd December 19, 2003
+.Dd October 7, 2004
 .Dt FTP 1
 .Os
 .Sh NAME
@@ -1746,6 +1746,14 @@
 .Xr basename 1
 of
 .Ar path .
+Note that if a
+.Tn HTTP
+redirect is received, the fetch is retried using the new target URL
+supplied by the server, with a corresponding new
+.Ar path .
+Using an explicit
+.Fl o Ar output
+is recommended, to avoid writing to unexpected file names.
 .Pp
 If a classic format or an
 .Tn FTP



Home | Main Index | Thread Index | Old Index