Mirror Location - Pattern matching

3) Look at the filename/directory component of the FTP directory listing, and infer mirroring relationships from the presence of several similar path components.

We need to be careful with this, because there's a danger of marking the wrong things as Mirrors:

  roads-v2.1/cgi-bin/search.pl
  roads-v2.2/cgi-bin/search.pl

Need to be able to spot that these are mirror copies:

  /pub/ROADS/roads-v2.2/cgi-bin/search.pl
  /mirrors/roads/roads-v2.2/cgi-bin/search.pl

Still a work in progress!


Copyright © 1999, Martin Hamilton and Alexei Novikov. All rights reserved. This is free slideware, you can redistribute it under the terms of the GNU General Public License, version 2 or later.