From owner-freebsd-questions@FreeBSD.ORG Tue Sep 28 15:13:07 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 3C90B16A4F4 for ; Tue, 28 Sep 2004 15:13:07 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5D5943D41 for ; Tue, 28 Sep 2004 15:13:06 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i8SFCp5m068892; Tue, 28 Sep 2004 10:12:51 -0500 (CDT) (envelope-from dan) Date: Tue, 28 Sep 2004 10:12:51 -0500 From: Dan Nelson To: Steve Suhre Message-ID: <20040928151251.GG90839@dan.emsphone.com> References: <6.0.3.0.2.20040928085447.04434ec0@nano.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.3.0.2.20040928085447.04434ec0@nano.net> X-OS: FreeBSD 5.3-BETA5 X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: FTP command line syntax 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, 28 Sep 2004 15:13:07 -0000 In the last episode (Sep 28), Steve Suhre said: > I need to set up a cron job that will fetch a file using ftp and a > password. I've tried several versions of the commands as described in > the man page and the Auto-Fetch section but I'm getting an error that > makes me think I'm missing something... > > If I use the suggested syntax: > > ftp ftp://user:password@host/path > > I get: Can't locate or login to host `user' Works for me: $ ftp ftp://doesnt:exist@ftp.netscape.com/path Connected to ftp.gftp.netscape.com. 220-35 220 ftpnscp.newaol.com FTP server (SunOS 5.8) ready. 331 Password required for doesnt. 530 Login incorrect. ftp: Login failed. ftp: Can't connect or login to host `ftp.netscape.com' 221 Goodbye. $ What version of FreeBSD are you running? -- Dan Nelson dnelson@allantgroup.com