[HPADM] RE: ftp script/batch job

From: Epstein, Kevin (kepstein_at_uti.co.za)
Date: 04/14/05

  • Next message: bill.thompson_at_goodyear.com: "[HPADM] Re: RE: ftp script/batch job"
    To: "'Neil Paniraj'" <npaniraj@yahoo.com>, hpux-admin@dutchworks.nl
    Date: Thu, 14 Apr 2005 14:48:08 +0200
    
    

    create a .netrc file for the user that will run the job.
    man .netrc
    Also then instead of invoking ftp with just the ftp command, you invoke it
    with ftp -i

    Rgds,
    Kevin Epstein
    UTi - Centurion

    -----Original Message-----
    From: hpux-admin-owner@DutchWorks.nl
    [mailto:hpux-admin-owner@DutchWorks.nl]On Behalf Of Neil Paniraj
    Sent: 14 April 2005 02:35 PM
    To: hpux-admin@dutchworks.nl
    Subject: [HPADM] ftp script/batch job

    UNIX Gurus:

    I need to put a cron job to ftp files from a HP-UX
    server to an NT Box. I'd really appreciate if some
    one who is doing something similar is kind enough to
    send me the script/sequence used by him/her. Is there
    a way of doing this non-interactively without asking
    for password? Any input from you would be most useful.

    Thanks a lot in advance.

    NEIL.

                    
    __________________________________
    Do you Yahoo!?
    Yahoo! Small Business - Try our new resources site!
    http://smallbusiness.yahoo.com/resources/

    --
                 ---> 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)
    --
                 ---> 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: bill.thompson_at_goodyear.com: "[HPADM] Re: RE: ftp script/batch job"

    Relevant Pages

    • SYSCONF and FTPIT jobs
      ... Before I start hacking at the FTPIT job I ... The target host is SELinux enabled and uses vsftpd as the ftp daemon. ... it seems to me that the info in the netrc file is not being used or is ...
      (comp.sys.hp.mpe)
    • Re: need help
      ... You can also do this by automating an ftp transfer. ... create a .netrc file on the source system. ... automate ftp. ... mput /mydir/subdir1/* ...
      (comp.unix.aix)
    • Re: .netrc permission denied AIX 4.3.3
      ... > I'm trying to set up an automated ftp process, this is the .netrc file. ... > This is the response I get when I try to run an ftp to the machine webtest. ...
      (comp.unix.aix)
    • Re: Automatic Login using ftp
      ... > netrc - file for ftp remote login data ... > The .netrc file contains data for logging in to a remote ... Error - .netrc file not correct mode. ... plus i mentioned ftp -n remotemachinename (rather i shouldn't have ...
      (comp.unix.shell)
    • FTP via .netrc
      ... I am using .netrc file to achieve my purpose. ... and kill the child process after 5 seconds. ... the problem is the bash get killed and ftp service keeps on. ...
      (comp.os.linux.misc)