|
Post by Jon L Dee on Oct 17, 2003 10:57:15 GMT -5
Kevin, Is it possible to create the zip file only after the first file to be backed up is detected. In other words, if the user is backing up "changed" files and ther are no "changed" files, don't create the zip file.
Jon
|
|
|
Post by Kevin on Oct 21, 2003 12:32:42 GMT -5
If you already have a zip file with files in it you can freshen or update the archive. Is that what you mean?
|
|
|
Post by Jon L Dee on Oct 21, 2003 17:32:21 GMT -5
Kevin, No. I was creating a new zip file based upon the archive bit being set. If there were no files that needed archiving I still ended up with a .zip file with no entries. What am I missing?
I don't want a zip file to be created if there are no entries.
Jon
|
|
|
Post by Kevin on Oct 21, 2003 18:01:44 GMT -5
VCLZip assumes that you do want an empty archive. You would have to delete the zip file yourself. You can check to see that VCLZip.Count = 0 and if so, delete it.
|
|
|
Post by Jon L Dee on Oct 22, 2003 15:28:28 GMT -5
Kevin, Yup,.... that's what I'm doing. Just thought there might have been a method within VCLZip.
Thanks, Jon
|
|