Adding To Zip File

Warren Kuhl warrenkuhl at gmail.com
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/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