From owner-freebsd-questions Sun Dec 23 4:44: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rush.telenordia.se (mail.telenordia.se [194.213.64.42]) by hub.freebsd.org (Postfix) with SMTP id 8881537B416 for ; Sun, 23 Dec 2001 04:43:50 -0800 (PST) Received: (qmail 10947 invoked from network); 23 Dec 2001 13:43:43 +0100 Received: from bb-62-5-36-29.bb.tninet.se (HELO there) (62.5.36.29) by mail.telenordia.se with SMTP; 23 Dec 2001 13:43:43 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Mark Rowlands To: Francisco Reyes , FreeBSD Questions List Subject: Re: Automating multiple file transfers with FTP Date: Sun, 23 Dec 2001 13:44:38 +0100 X-Mailer: KMail [version 1.3.2] References: <20011221102106.K10298-100000@zoraida.natserv.net> In-Reply-To: <20011221102106.K10298-100000@zoraida.natserv.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011223124350.8881537B416@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 21 December 2001 4:32 pm, Francisco Reyes wrote: > Any hints on how I can automate multiple file transfers with FTP > using a valid user/password? > > The FTP man page talks about "AUTO-FETCHING FILES", but I couldn't get > that to work for multiple files. I tried the "ftp > ftp://user:password@host/file" format and that worked only for single > files. I tried putting different files at the end, but only the file right > after the host worked : > "host/" > > I did get the following to work: > ftp ftp://user:password@host/directory > Having ftp.script with something like: > ascii > prompt > mget *.txt > > Is this the only/best way to do this? > I like lftp > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Mos Eisley Spaceport; you'll not find a more wretched collection of villainy and disreputable types... -- Obi-wan Kenobi, "Star Wars" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message