Warren,
You need to invoke the ftp program with the "-n" option to get around that
problem. I don't have the man page handy where I am now, but there should
be more information about that switch in there.
Good luck,
-Greg
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Warren Mansur
> Sent: Friday, June 16, 2000 11:12 AM
> Cc: [EMAIL PROTECTED]
> Subject: Re: script telnet or ftp
>
>
> Randy Edwards wrote:
>
> > > Does anyone know if it's possible to script telnet or ftp sessions?
> >
> > Sure, another one of the uses of standard I/O redirection.
> First, read
> > up on telnet and ftp and see what options you can pass on the
> command line.
> > Then, simply create a text file with the commands you want.
> For example:
> >
> > ftp ftp.golgotha.net < download-script.ftp > ftplog.txt
> >
> >
>
> I tried this before and it didn't work for some reason. It
> always comes up
> with this prompt (when viewing from the console):
>
> Password: Name:
>
> It looks as if it's trying to pass the first and second line as
> username as
> password to quickly or something. I'm not sure.
>
> --
> Warren Mansur
> email: [EMAIL PROTECTED]
> phone: 603-884-5435
>
>
>
>
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************
>
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************