From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 10:20:07 2003 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 CEA6A16A4CE for ; Sun, 21 Dec 2003 10:20:07 -0800 (PST) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE4343D58 for ; Sun, 21 Dec 2003 10:20:06 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.103]) by mta11.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031221182006.TMDK1240.mta11.adelphia.net@barbish> for ; Sun, 21 Dec 2003 13:20:06 -0500 From: "fbsd_user" To: "freebsd-questions@FreeBSD. ORG" Date: Sun, 21 Dec 2003 13:20:05 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: need example of ftp command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2003 18:20:07 -0000 Need example of ftp command to login anonymous and download selected file' I can not get this to work #! /bin/sh cd /usr/packages/ path="pub/FreeBSD/ports/i386/packages-4.9-release/mail" ftp -a 'ftp://ftp2.FreeBSD.org/$path/qpopper-4.0.5_1' using native interactive ftp, I can drill down to this directory and get the file, so I know it's there and that's the correct name, but I can not get the ftp command in my script to work. Get error (not found or no access). Please help.