From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,82e1c35294d19e16,start X-Google-Attributes: gid10d4db,public From: "Thomas J. Moore" Subject: lurkftp - FTP site lurker Date: 1997/04/26 Message-ID: #1/1 X-Deja-AN: 237516077 X-Server-Date: 26 Apr 1997 13:34:19 GMT Followup-To: comp.os.linux.misc Old-Date: Wed, 23 Apr 1997 22:54:20 -0500 Organization: none X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUBM2IEbjiesvPHtqnBAQE2+wH/RNqv8YkcchOlgJxgSFqiXZPyS5anLrfe bMipRPoPxoNxArsz40BU6tsDhLfcnQo+HfuznAyJ9kaNJKF04x/ZvA== =m3B6 Newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Attention FTP site lurkers! Yes, you know, the ones who always log on just to see what's new... Announcing the availability of: lurkftp v0.9 What it is: This is the ultimate ftp site lurker program. It is a simple program to monitor changes in ftp sites and either just report changes or mirror changes into a local directory. So why another mirror program? Because I couldn't get any of the mirror programs on sunsite to do what I wanted half-way reliably & efficiently. In fact, most of 'em that I tried crashed or had problems compiling. If my program does that, please don't do what I did (write yet another stupid mirroring program) -- just tell me & I'll fix it (or try to). Since I'm too lazy to write FTP site handling stuff myself, I took the easiest-to-find C-based library for that purpose: ftplib-v2 (970315). I made a few changes (auto-use of PORT command if PASV isn't supported and external callability of a few functions so I could rewrite the get and list commands for my purposes), which are encapsulated in ftplib.patch. Of course since ftplib is under GPL, I guess that puts lurkftp under GPL, too unless I can get a usable ftplib as a shared library, or write one myself. Begin3 Title: lurkftp Version: 0.9 Entered-date: 23 April 1997 Description: Self-contained FTP site monitor & mirroring program Keywords: ftp mirror Author: dark@mama.indstate.edu (Thomas J. Moore) Maintained-by: dark@mama.indstate.edu (Thomas J. Moore) Primary-site: sunsite.unc.edu /pub/Linux/system/Network/file-transfer 28K lurkftp-0.9.tar.gz Copying-policy: GPL End ***** output of chkftp -h [terse help; see man page for more+examples] lurkftp v0.9: monitor and/or mirror ftp sites usage: lurkftp [[options] [ []+]]+ Options: [toggles: - == on; + == off] -F Read more options from file -q Suppress report -P Fork for each site -p Anonymous login password (@) -b Base name for ls files (.chkls.%s%d) %-escapes: %s:site; %d:dir; %%:'%' -m Next site: Mirror to local directory -e Next site [mirror]: Pipe file into instead of storing %-escapes: %s:site; %r:remt dir; %l: local dir %f:file name; %%: '%' -l Next site [mirror]: Use ls file instead of local dir -f Next site [mirror]: Read ls file instead of remote dir -E Mirror: check mode (but not owner/group) -n Mirror: don't really retrieve file; just set mode/time -i Include only filter -I Include only filter from file -x Dir filter -X Dir filter from file -D Filter out directories -s Don't filter out specials (b,c,p,s) -C Connection timeout (20) -L Listing timeout (300) -T Transfer timeout per K (10) -Q Quit command timeout (5) -r # of times to retry connection (10) -R Time to wait between retries (10) -S Mail results to users -a