Re: ftpget improvement?

From: Bernd P. Ziller <bziller@dont-contact.us>
Date: Tue, 29 Oct 1996 09:27:25 +0100

> From: "Gustavo Zacarias" <gustavo@movi.com.ar>
> Date: Mon, 28 Oct 1996 23:58:40 -0300

> Maybe it can be done, and i just haven't read enough...
> Can you specify different TTLs for files and directories? Files don't tend
> to change, but dirs do. Greets,

Maybe something like this would catch most ftp-dirs:

      ttl_pattern ^ftp:// 10080 40% 43200
      ttl_pattern ^ftp://.*/$ 10080 20% 43200

Of course use your own imagination for your ttls ;)

Someone can still use a URL like ftp://ftp.host/topdir/subdir
instead of ftp://ftp.host/topdir/subdir/ .
But at least all later links to other directories in the ftpget
generated page will have a slash at the end.

-- 
   Bernd                  bziller@ba-stuttgart.de
-------------------------------------------------
      http://www.ba-stuttgart.de/~bziller/
 Perry Rhodan - Blind Guardian - Megadeth  Pages
Received on Tue Oct 29 1996 - 00:33:01 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:23 MST