From owner-freebsd-questions@FreeBSD.ORG Tue Sep 28 16:20:26 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 19EEB16A4CF for ; Tue, 28 Sep 2004 16:20:26 +0000 (GMT) Received: from tiny.smallweb.com (smallweb.com [216.85.125.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 557F743D3F for ; Tue, 28 Sep 2004 16:20:25 +0000 (GMT) (envelope-from steve@Antero.com) Received: from silver.Antero.com (silver.nano.net [216.85.125.13]) by tiny.smallweb.com (8.12.10/8.12.10) with ESMTP id i8SGKBhE026385; Tue, 28 Sep 2004 10:20:11 -0600 (MDT) Message-Id: <6.0.3.0.2.20040928101942.02e233c0@nano.net> X-Sender: antero@nano.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Tue, 28 Sep 2004 10:20:25 -0600 To: JohnsoBS@vicksburg.navy.mil From: Steve Suhre In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: 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 16:20:26 -0000 Thanks to all, ncftp worked with a .netrc file. I'm good to go..... At 09:49 AM 9/28/2004, JohnsoBS@vicksburg.navy.mil wrote: >Try ncFTP. GREAT commandline client with resume and more features.. > >-----Original Message----- >From: Steve Suhre [mailto:steve@Antero.com] >Sent: Tuesday, September 28, 2004 5:42 PM >To: freebsd-questions@freebsd.org >Subject: Re: FTP command line syntax > > > > > >Thanks, wish I could say the same.... I'm running 4.6 on this machine. The >man pages in 4.6 give the syntax so I assumed it would work. I tried >"fetch" also and got a parsing error. I'll try grabbing a newer version of >ftp and/or fetch and see if that works. > > > >At 09:12 AM 9/28/2004, you wrote: > >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 > > > >--- >Steve Suhre >Antero web technologies >719.634.8161 >steve@Antero.com > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" --- Steve Suhre Antero web technologies 719.634.8161 steve@Antero.com