Paul Slootman <[EMAIL PROTECTED]> writes:

> 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

Are you sure that it is _getting_ the log files and not just updating
the timestamp on them to indicate that they are current?

> And how are there logfiles named? Are they rotated? I.e., this weeks'
> log.2.gz will be next week's log.3.gz? If so, it's not strange that
> they're all fetched... How is wwwoffle to know the difference between a
> rename and a completely new file?
> 
> Of course, if the logs are named by date, and not touched at all in
> between fetches, then there's something else going on. Perhaps the ftp
> daemon doesn't show the dates in a "normal" fashion.

WWWOFFLE does try and ask the server the date of the files on the FTP
server and decide if they should be re-fetched.  It is possible that
the server does not understand what WWWOFFLE is saying or it is lying
about the age of the files.

Try enabling the highest debugging level (run 'wwwoffled -d 6') and
see if you get any messages that look like:

        FTP: sent 'MDTM %s'; got: %s

where the first '%s' is the filename and the second '%s' is the reply.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html

Reply via email to