On Mon, 12 Feb 2001, Mike Burger wrote:

> 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.

wouldnt it just be simpler to install wget and do this:

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





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

Reply via email to