file name vs Dir misconcepts ?!?

andrew martin
05/29/2007 03:06 am
Dear sir , I am experiencing your O.E product . In fact , its really good . Its my prior choice among many offline products.

Till now , I have only 1 question ; about URL filter , the file name filter .

Say , I have DIR site:
http://example.com/dir1/dir2

in this site , there are links:
http://example.com/dir1/dir2/link1.htm
http://example.com/dir1/dir2/link1abcdef
[DIR] http://example.com/dir1/dir2/dir3/

In [DIR]http://example.com/dir1/dir2/dir3/
there is
LINK: http://example.com/dir1/dir2/dir3/link4

I set the Filter in File name :Include : link
(that means all files meant to be downloaded
must have LINK in there names , isnt it ). Other filters set to all allow . All depths

So , O.E grabs
http://example.com/dir1/dir2/link1.htm
http://example.com/dir1/dir2/link1abcdef

But NOT
http://example.com/dir1/dir2/dir3/link4
which is in [DIR] http://example.com/dir1/dir2/dir3/

It seems O.E doesnt recognize file name againt dir/ .
Please test it and reply to me , thanks

======================
You can test this site :
http://modperlbook.org/code/chapters/appD-tt2/
There are 2 files have TEMPLATE in there names in SUB DIR .
O.E should explore all dirs and check the file name .

Regards.
Thanks for yr sppt
Oleg Chernavin
05/29/2007 11:19 am
I think the problem is that you allowed the filenames with "link". However Offline Explorer has also to load the .../dir3/ listing to get the link to .../dir3/link4 file. Thus, please add

default.htm

to the list of included filenames. This would allow directories download.

Best regards,
Oleg Chernavin
MP Staff