[Newlug] Automation of FTP
brentc at netnet.net
Wed Sep 15 09:03:41 CDT 2004
You might want to take a look at expect.
From: newlug-admin at newlug.org [mailto:newlug-admin at newlug.org] On Behalf Of
BBingham at belkauusa.com
Sent: Wednesday, September 15, 2004 8:48 AM
To: newlug at newlug.org
Subject: [Newlug] Automation of FTP
I am currently working on a project to automate a process of using ftp to
pickup files and then delete those files on the ftp server. Our plan is to
use ftp with the mget and then pickup all the files on the server, then
deleting those files one by one from the server to avoid deleting files
that may be placed there after our initial grabbing them. In this process
we also want to be able to test the return codes of ftp so that we can
handle any errors correctly.
Does any one know of a way we can do this using standard Unix ftp?
920.788.3525 x 340
More information about the Newlug