|
Post by ZipZap on Jan 17, 2005 7:00:49 GMT -5
Kevin,
I was just adding Date Selection to the VCLZip unit and noticed something (and tested it to make sure) if you have a OnRecurse event set and an entry in the file list that is a file not a wild card the OnRecurse event does not fire for that entry. ALso if the File does not exist and matches an entry in the exclude list you get a fileskipped with exclude instead of a file does not exist event.
I'd be glad to email the VCLZip and VCLUnzip files that I've changed to add data selection and fix the above.
Thanks
|
|
|
Post by ZipZap on Jan 17, 2005 7:01:48 GMT -5
P.S. for got to mention that I'm using the 3.05 code you just posted.
|
|
|
Post by Kevin on Jan 17, 2005 9:07:38 GMT -5
1) This is because recursing is meant only with wildcards. OnRecurse is called when expanding wildcards. Filenames should not be put into the FilesList without full path information. When it is a complete filename with path, that is considered to be an explicit entry.
2) You are right, If a file is in the exclude list it is not checked for existence. This is by design.
Kevin
|
|