Complete.Org: Mailing Lists: Archives: linux-help: October 2000:
[linux-help] Re: Automating an ftp job to and IBM mainfram
Home

[linux-help] Re: Automating an ftp job to and IBM mainfram

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: Automating an ftp job to and IBM mainfram
From: Greg House <ghouse@xxxxxxxxxxxxx>
Date: Tue, 10 Oct 2000 20:32:52 -0500
Reply-to: linux-help@xxxxxxxxx

On Tue, 10 Oct 2000, you wrote:
> On Tue, 10 Oct 2000, Keltner, Gene wrote:
> 
> > I need to automatically send a file to our IBM mainframe from a Linux (Red
> > Hat 6.2) server.  I am presently doing it manually but I must get it to work
> > automatically in the middle of the night.  
> > 
> > Does anyone have suggestions on a script, etc that would do an ftp login to
> > the mainframe, execute a SEND command to get the file up there, and then
> > quit or terminate the connection.?
> 
>       Dear Gene:
> 
>       You might check out Expect, which can do things like this.  It is
> often used to automate interactive tasks.  

Along the same lines, I bet you could use chat (like you would for dialin
stuff). There's also a way to redirect stdin to the script file when you're
running a script, so you can put the commands inline. Unfortunately, I can't
remember the way to invoke it right now. Maybe someone else does?

Greg

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]