[HPADM] help with a script - condition to check the size of the file and initiate ftp

From: Balaji Nathan (balajinathan2003@yahoo.com)
Date: Wed May 11 2005 - 16:24:06 EDT


Hi admins,
Please help me on the following:
I have to set up a condition;
 
ie if the file "testxx" is zero bytes, DO NOT iniate the ftp process.
If "testxx" size is other than zero byte, initiate the ftp.
 
Please help me on the script syntax..
Thanks
Balaji

                
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site!

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:47 EDT