From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 04:44:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2225716A41A for ; Wed, 22 Aug 2007 04:44:18 +0000 (UTC) (envelope-from rakhesh@rakhesh.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9EF7E13C494 for ; Wed, 22 Aug 2007 04:44:17 +0000 (UTC) (envelope-from rakhesh@rakhesh.com) Received: by nf-out-0910.google.com with SMTP id b2so46730nfb for ; Tue, 21 Aug 2007 21:44:16 -0700 (PDT) Received: by 10.78.172.20 with SMTP id u20mr168772hue.1187757855237; Tue, 21 Aug 2007 21:44:15 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.132.156]) by mx.google.com with ESMTPS id 20sm74627huf.2007.08.21.21.44.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2007 21:44:14 -0700 (PDT) Received: from obelix.home.rakhesh.com (obelix.home.rakhesh.com [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 19E3250841; Wed, 22 Aug 2007 08:42:30 +0400 (GST) Date: Wed, 22 Aug 2007 08:42:30 +0400 (GST) X-X-Sender: rakhesh@obelix.home.rakhesh.com To: Philip Hallstrom In-Reply-To: <20070821160431.A56007@bravo.pjkh.com> Message-ID: <20070822084136.M88943@obelix.home.rakhesh.com> References: <20070821160431.A56007@bravo.pjkh.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: wildcard usage in fetch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 04:44:18 -0000 >> fetch -avrpAFU ftp://loginid:password@my.pics.com/IDX/ActivePhotos/*/*.* >> >> The /*/ directory is 2 positions in size and >> contains 00 through 99 as directory names. >> The *.* means all files in this directory. >> >> When I execute this I get logged in but get file >> not found or not available error message. >> >> Is wildcard usage not allowed in ftp? >> >> How would you suggest to accomplish downloading source file >> directory structure and their contents? > > You might look into curl. I know it has some wildcarding capabilities. I haven't done ftp'ing around in a while. But a long time ago, when I did, I used ncftp. That does wildcarding iirc. Regards, - Rakhesh http://rakhesh.com/