From owner-freebsd-questions@FreeBSD.ORG Fri May 20 21:58:35 2005 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 C7AE816A4CE for ; Fri, 20 May 2005 21:58:35 +0000 (GMT) Received: from mail.goinet.com (mail.goinet.com [208.207.72.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20F6843D76 for ; Fri, 20 May 2005 21:58:35 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (localhost.goinet.com [127.0.0.1]) by mail.goinet.com (8.13.1/8.13.1) with ESMTP id j4KLwJsB032144; Fri, 20 May 2005 16:58:19 -0500 (CDT) (envelope-from tshadwick@goinet.com) Received: from localhost (tshadwick@localhost)j4KLwF7d032135; Fri, 20 May 2005 16:58:15 -0500 (CDT) (envelope-from tshadwick@goinet.com) X-Authentication-Warning: mail.goinet.com: tshadwick owned process doing -bs Date: Fri, 20 May 2005 16:58:15 -0500 (CDT) From: Tony Shadwick To: Eugene Hercun In-Reply-To: Message-ID: <20050520165633.R11826@mail.goinet.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mail.goinet.com X-Virus-Status: Clean cc: freebsd-questions@freebsd.org Subject: Re: downloading entire directories 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: Fri, 20 May 2005 21:58:35 -0000 There are two ways you could do this. The first is like so: create the actually directory locally ftp to the remote system cd to the directory Then type the following: prompt mget * Now, that doesn't recurse. :\ The other way would be to do 'portinstall wget', then 'man wget'. Tony On Fri, 20 May 2005, Eugene Hercun wrote: > I was wondering if ftp is able to download entire directories. I've > read through the man page and didn't really find anything specific to > downloading a selected directory. There was a note however, saying to > use tar to tar a directory and then download that tar file. The > problem is I do not have remote access to this particular ftp server. > The only alternative that I could think of using is wget. Although I > would prefer to use ftp. > Thank you. > This is for a perl script to basically check an ftp server every day, > download what's new, and add the new items to a database to not > download the same items again the next day. > > Eugene > _______________________________________________ > 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" >