From ddc9ba4e19bdaea300f6c5b77acaca843265b27e Mon Sep 17 00:00:00 2001 From: lukem Date: Thu, 28 Sep 2000 12:26:19 +0000 Subject: [PATCH] clarify that $ftp_proxy only works for full URLs and can't be used for interactive connections. --- usr.bin/ftp/ftp.1 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/usr.bin/ftp/ftp.1 b/usr.bin/ftp/ftp.1 index b54c19eea6de..d4ca1b3fbba5 100644 --- a/usr.bin/ftp/ftp.1 +++ b/usr.bin/ftp/ftp.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: ftp.1,v 1.72 2000/07/28 11:45:12 lukem Exp $ +.\" $NetBSD: ftp.1,v 1.73 2000/09/28 12:26:19 lukem Exp $ .\" .\" Copyright (c) 1996-2000 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -68,7 +68,7 @@ .\" .\" @(#)ftp.1 8.3 (Berkeley) 10/9/94 .\" -.Dd July 28, 2000 +.Dd September 28, 2000 .Dt FTP 1 .Os .Sh NAME @@ -1446,7 +1446,7 @@ URL, retrieved using the protocol if .Ic "set ftp_proxy" isn't defined. -Otherwise, transfer using +Otherwise, transfer the URL using .Tn HTTP via the proxy defined in .Ic "set ftp_proxy" . @@ -1526,16 +1526,21 @@ is not given, the file is stored in the current directory as the of .Ar path . .Pp -If a classic format or a +If a classic format or an .Tn FTP URL format has a trailing -.Sq / , -then +.Sq / +or an empty +.Ar path +component, then .Nm will connect to the site and .Ic cd to the directory given as the path, and leave the user in interactive mode ready for further input. +This will not work if +.Ic "set ftp_proxy" +is being used. .Pp Direct .Tn HTTP