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

From: Balaji Nathan (balajinathan2003_at_yahoo.com)
Date: 05/11/05

  • Next message: BAKHSHESH Kazem: "[HPADM] RE: help with a script - condition to check the size of t he file and initiate ftp"
    Date: Wed, 11 May 2005 13:24:06 -0700 (PDT)
    To: hpux-admin@DutchWorks.nl
    
    

    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)
    

  • Next message: BAKHSHESH Kazem: "[HPADM] RE: help with a script - condition to check the size of t he file and initiate ftp"