|
Post by mwilliams on Apr 12, 2007 4:20:46 GMT -5
I am using VCLZip to write a backup utility. I am giving the user the option of backing up only those files that have been modified since the date of the last back up (which I store as a config option).
I am storing directory paths with wild cards. I need a point at which I can check the date of the file against the date of the last backup. The only event I can find which I think may provide assistance in this respect is onRecursingFile. However, this does not provide any means of skipping the file if it does not meet the date criteria.
Is there some other event I can use to check the date and exclude the file from the backup if necessary. Or is there some much simpler way of doing this?
Thanks, Mark
|
|
|
Post by Kevin on Apr 13, 2007 6:57:05 GMT -5
I believe the OnStartZip event should allow you to do what you want. The full filename is passed in and it has a skip parameter.
Does that do what you want?
Kevin
|
|
|
Post by mwilliams on Apr 17, 2007 2:51:37 GMT -5
Hi Kevin,
I somehow missed that event. Got it confused with onStartZipInfo. I checked the help file before posting and it does not show the onStartZipInfo event only onStartInfo and I must have assumed they were one and the same.
Thanks,
Mark
|
|