Subject: | |
From: | |
Reply To: | |
Date: | Wed, 14 Nov 2001 11:38:59 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Jim,
Maybe the functionality you seek doesn't exist within FTP but you could:
1 Have a local file with the same name as your 3K's trigger file reside on your unix box.
2 Read the timestamp from this file.
3 Attempt to overwrite it by downloading it from the 3K.
4 Exit the ftp session and compare the two timestaps.
Regards,
Jurjen Heeck
Compass Group Nederland Holding BV
"If you're unable to turn to the left you might as well try three right turns..."
----- Original Message -----From: "Jim Chance" <[log in to unmask]>
To: <[log in to unmask]>Sent: Friday, November 09, 2001 12:36 PM
Subject: UNIX connect to HP3k, check for file existence, if exists loop;
else continue
> Does anyone know how to:>> connect to an HP3k from a UNIX shell script>
> that would then check for the existence of a file on the HP> (trigger file)>
> and if it exists, loop>
> else if it doesn't - continue on to the following shell> commands.>
> Thank you for reading my question.>> Regards, Jim.>
> P.S. Can't telnet within my SCO UNIX shell and FTP doesn't
> seem to sophisticated enough to IF LOOP ELSE based on ls or> listf results.>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|