ftp with error handling

From: Howard E. Arnold <arnoldh_at_celerent.com>
Date: Sun, 04 Mar 2001 16:03:21 -0500

I need to with a script that will ftp into a server a pull a file. If the
file is not there I need to return an error.

I have the script written to log into the server and get the file, but I do
not know how to write it to trap for the error ( file not there).

Has anyone written a script to do something like this?

Thanks

Howard
Received on Mon Mar 05 2001 - 21:02:17 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT