[HPADM] RE: ftp script/batch job

From: Epstein, Kevin (kepstein@uti.co.za)
Date: Thu Apr 14 2005 - 08:48:08 EDT


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)


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