Martin DiViaio on 7 Mar 2004 06:04:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Script FTP session?


[...]

On the 7th day of March in the year 2004 you wrote:

> Date: Sun, 7 Mar 2004 00:41:31 -0500
> From: kaze <kaze@voicenet.com>
> To: PLUG Listserv <plug@lists.phillylinux.org>
> X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS 
> 	autolearn=no version=2.63
> Subject: [PLUG] Script FTP session?
> 
> Sorry if this one is to easy, but can I control a (non-GUI / CLI) FTP
> session from a shell script? Like send username, password, cd, put, get, and
> then bye? Going farther how might I insert from the script timed pauses
> between commands, like to wait five minute between the put and then next
> command.
> 

Look at the expect(1) and autoexpect(1) man pages.


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug