From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f72b0,6085b126b0df2ddd X-Google-Attributes: gidf72b0,public X-Google-Thread: fc89c,6085b126b0df2ddd X-Google-Attributes: gidfc89c,public X-Google-Thread: 1020c6,6085b126b0df2ddd X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,6085b126b0df2ddd X-Google-Attributes: gidfee84,public X-Google-Thread: 1012a6,6085b126b0df2ddd X-Google-Attributes: gid1012a6,public From: Mike Di Fulvio Subject: Re: Automatic downloading by using cron ? Date: 1998/12/17 Message-ID: <3679214E.4499@safari.net>#1/1 X-Deja-AN: 423271483 Content-Transfer-Encoding: 7bit References: <3677D4C6.2FC1B5FC@ulg.ac.be> <3678C249.F79F0695@mail.editech.com.tw> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@safari.net X-Trace: news.safari.net 913908192 3912 206.98.157.8 (17 Dec 1998 15:23:12 GMT) Organization: W3 Solutions Group Inc. Mime-Version: 1.0 Reply-To: miked@safari.net NNTP-Posting-Date: 17 Dec 1998 15:23:12 GMT Newsgroups: comp.unix.admin,comp.unix.shell,comp.unix.osf.osf1,comp.unix.misc,comp.unix.programmer Giant Wang wrote: > > You should get a package "ncftp" and build it into you OS. > If your OS was RedHat or SlackWare, it was builtin package. This "ncftp" sounds pretty cool. When I have been tasked to develop cron based solutions that require interactive programs (like ftp) I have always used "expect" to build the jobs. If this ncftp is not enough or you have other interactive programs you want to 'cron' search the web for expect and install the same. Good Luck.. > > ncftp -a ftp.site:/some/path/and/file > > It could connect with anonymous user (with option "-a") > It could get all file in subdirectory (with option "-R") > It could reget file from broken poing (with option "-C") > It could use wildcard file name. > It could .... as you need. > > Nguyen-Dai Quy wrote: > > > > Hi, > > Howto download a file via ftp (anonymous) automatically by using > > crontab ? > > I try in my cron file: > > 0 2 25 12 * /home/users/quy/mydownload > > > > With my script "mydownload". Which command I can put in my script > > for automatic downloading ? -- Michael P. Di Fulvio W3 Solutions Group Inc. UNIX/Internet Consultants Project Management - Y2K Analysis miked@safari.net --