Welcome! Log In Create A New Profile

Advanced

Bad behavior to create ZIP file

Posted by Mike Bernard 
Mike Bernard
Bad behavior to create ZIP file
August 12, 2008 05:03PM
Hello
I have some problem with the creation of ZIP files with the WD XII

ResCreate = zipCreate("MyArchive", "C:\Temp\xbackup.zip")
IF ResCreate = 0 THEN
ResAddDir = zipAddDirectory("MyArchive","C:\temp", True, zipDrive)
NbrFileRes = zipNbFile("MyArchive")
END
// close zipfile
zipClose("MyArchive")

Info("NbrFileRes + " files found ")


the code above works with some conditions like:

1) does not add to the ZIP some files that start with the letter X

2) does not create zip file if case change the name "C:\Temp\xbackup.zip" to "C:\Tempbackup.zip"

3) zipMsgErreur does not works


Someone could help me with some information, please?
Mike Bernard
Re: Bad behavior to create ZIP file
August 12, 2008 05:15PM

correction of step 2

2) does not create zip file if case change the name "C:\Temp\xbackup.zip" to "C:\Temp\backup.zip"

thank you again
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: