Adding To Zip File

Warren Kuhl warrenkuhl at
Sat Jan 8 00:21:11 EST 2011

I am trying to add data to a zip file.  I keep getting a "ziperr, illegal
variable" on the revZipAddItemWithData command.  The open and close results
are empty...and the zip file is not getting created.

   revZipOpenArchive "c:/Users/Warren/Desktop/software/", "update"
   answer the result
   revZipAddItemWithData "c:/Users/Warren/Desktop/software/",
 "text.txt", "This is a test"
   answer the result
   revZipCloseArchive "c:/Users/Warren/Desktop/software/"
   answer the result

Any help greatly appreciated!


More information about the Use-livecode mailing list