From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 18:36:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6817C16A4CE for ; Tue, 22 Jun 2004 18:36:27 +0000 (GMT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id F370C43D2D for ; Tue, 22 Jun 2004 18:36:26 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040622183623.YBPB2198.out012.verizon.net@[192.168.1.3]> for ; Tue, 22 Jun 2004 13:36:23 -0500 Message-ID: <40D87C23.3010902@mac.com> Date: Tue, 22 Jun 2004 14:36:19 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [68.161.84.3] at Tue, 22 Jun 2004 13:36:23 -0500 Subject: 'ftp' command does what...? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 18:36:27 -0000 Hi, all-- Is there a reason why the ftp command does odd things when presented with the URL format on this particular FTP server? 5-epia% ftp ftp://ftp.andrew.cmu.edu Connected to ASG2.WEB.cmu.edu. 220 asg2.web.cmu.edu FTP server (Version 6.00+Heimdal 20031031+KTH-KRB 1.3-20031 030) ready. 331 Guest login ok, type your name as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 500 'CWD ': command not understood. CWD command not recognized, trying XCWD. 500 'XCWD ': command not understood. ftp: The `CWD ' command (without a directory), which is required by RFC 1738 to support the empty directory in the URL pathname (`//'), conflicts with the server's conformance to RFC 959. Try the same URL without the `//' in the URL pathname. 221 Goodbye. 6-epia% uname -a FreeBSD epia.pkix.net 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sun May 9 04:56:46 EDT 2004 root@epia.pkix.net:/usr/obj/usr/src/sys/EPIA i386 Hmph. I suspect that handling an FTP URL without any URI portion past the hostname ought to do the same thing as "ftp hostname". -- -Chuck