[Cialug] corn shell

Jerry Weida jweida at gmail.com
Thu Sep 22 12:41:25 CDT 2005


Many times you can script ftp by doing something like

#!/bin/ksh
ftp -n <<_EOF_
quote user <username>
quote pass <password>
bin
get <filename>
put <filename>
quit
_EOF_

On 9/22/05, Nathan C. Smith <smith at ipmvs.com> wrote:
>
> LOL
>
> -----Original Message-----
> From: Dave Weis [mailto:djweis at internetsolver.com]
> Sent: Thursday, September 22, 2005 11:20 AM
> To: Central Iowa Linux Users Group
> Subject: Re: [Cialug] corn shell
>
>
>
> A corn shell is usually called a husk :-)
>
> The Korn shell is the default on AIX machines. You can use a program
> called expect to script ftp transfers, but native FTP is intended for
> interactive use.
>
> David Stout wrote:
> > I need a simple csh scrip that will ftp a file.
> > can someone give me a little insight.
> >
> > thanks
> >
> >
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20050922/6b8ae0d9/attachment.htm


More information about the Cialug mailing list