Adding To Zip File

Warren Kuhl warrenkuhl at gmail.com
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/wdk.zip", "update"
   answer the result
   revZipAddItemWithData "c:/Users/Warren/Desktop/software/wdk.zip",
 "text.txt", "This is a test"
   answer the result
   revZipCloseArchive "c:/Users/Warren/Desktop/software/wdk.zip"
   answer the result

Any help greatly appreciated!

Warren



More information about the Use-livecode mailing list