Adding To Zip File

Warren Kuhl warrenkuhl at
Fri Jan 7 23:21:11 CST 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