Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 13:44:38 +0100
From:      Mark Rowlands <mark.rowlands@minmail.net>
To:        Francisco Reyes <lists@natserv.com>, FreeBSD Questions List <questions@FreeBSD.ORG>
Subject:   Re: Automating multiple file transfers with FTP
Message-ID:  <20011223124350.8881537B416@hub.freebsd.org>
In-Reply-To: <20011221102106.K10298-100000@zoraida.natserv.net>
References:  <20011221102106.K10298-100000@zoraida.natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<this one worked>"
>
> I did get the following to work:
> ftp ftp://user:password@host/directory <ftp.script
>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011223124350.8881537B416>