my own personal preference here would be not to use ncftp and instead use
wget. wget is IMO far superior to ncftp.

wget ftp://ftp.redhat.com/redhat/redhat-6.2/i386/RedHat/RPMS/*

eric

----- Original Message -----
Bernhard Rosenkraenzer <[EMAIL PROTECTED]> said:

> On Mon, 12 Feb 2001, Mike Burger wrote:
>
> > I would think that you'd need to finish that command line with "< get *"
>
> Argh, now I see what he might have been doing...
> I thought the ">get *" was an indication of entering "get *" at ncftp's
> command prompt.
>
> If it was actually part of the command line, it's wrong (and so is "< get
> *").
>
> > ncftp ftp://ftp.redhat.com/redhat/redhat-6.2/i386/RedHat/RPMS/ < get *
>
> This can't work.
> What you mean is
>
> echo 'get *' |ncftp
ftp://ftp.redhat.com/redhat/redhat-6.2/i386/RedHat/RPMS
>
> and even that won't work; if you want to do what this would do if ncurses
> accepted piped input, try
>
> ncftp ftp://ftp.redhat.com/redhat/redhat-6.2/i386/RedHat/RPMS/*

You're right...that would have required the presence of a file called get.

That having been said, he could have done a:

ncftp ftp://ftp.redhat.com/redhat/redhat-6.2/i386/RedHat/RPMS/ < get

where "get" was a file that contained the command:

"get *" in it.

--
Mike Burger
CompuCom Information Services
http://www.compucomis.net
(215) 946-5573




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to