>>>>> "P" == Paul Slootman <[EMAIL PROTECTED]> writes:

P> On Mon 23 Sep 2002, Dan Jacobson wrote:
>> I want to get the newest logfile once a week from my website, so I
>> have this monitored once a week:
>> 
>http://localhost:8080/refresh-recurse/?url=ftp://europa.affordablehost.com/oldlogs/;depth=1;limit=ftp://europa.affordablehost.com/oldlogs/
>> 
>> however, wwwoffle-ls ftp://europa.affordablehost.com/
>> proves that it gets _all_ the logfiles there, including the ones it
>> got last time.  version: 2.7d

P> And how are there logfiles named? Are they rotated? 
Nope,
     *  /oldlogs/access_log.2002-09-08.gz
     *  /oldlogs/access_log.2002-09-15.gz
     *  /oldlogs/access_log.2002-09-22.gz
and wget knows enough to not refetch them.
BTW:
$ wwwoffle-ls  ftp://europa.affordablehost.com/oldlogs/access_log.2002-08-25.gz
D-J+8Rp2BX74ZKOlyPhaJFQ  106593 Sep 23  6:11 
ftp://europa.affordablehost.com/oldlogs/access_log.2002-08-25.gz
$ wwwoffle -O ftp://europa.affordablehost.com/oldlogs/access_log.2002-08-25.gz|sed 3q
HTTP/1.0 200 FTP Proxy OK
Content-Type: application/x-gzip
Last-Modified: Sat, 24 Aug 2002 15:26:40 GMT
P> Of course, if the logs are named by date, and not touched at all in
P> between fetches, then there's something else going on. Perhaps the ftp
P> daemon doesn't show the dates in a "normal" fashion.
Hmm, apparently the above recursive command doesn't keep a copy of the
index to that dir., so to show you what the indexes look like in lynx
I'll choose a different directory that I happen to have a copy of
before connecting my modem again: 
                          Index of ftp://europa.affordablehost.com/                    
         
drwxr-xr-x   5 jidanni  users        4096 Aug 19 00:27 .
drwxr-xr-x   5 jidanni  users        4096 Aug 19 00:27 ..
drwxr-xr-x  14 jidanni  users        4096 Sep  2 19:26 data
drwxr-xr-x   2 jidanni  users        4096 Sep  1 00:00 logs
drwxr-xr-x   2 jidanni  users        4096 Sep  1 00:00 oldlogs
[Sorry that my bug report isn't about an anonymous FTP place, instead,
a private one.]

Reply via email to