Error getting tags :
error 404Error getting tags :
error 404 revZipAddItemWithData | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revZipAddItemWithData
Basics
Expander triangle
Type
Command
Syntax

revZipAddItemWithData archivePath, itemName, variableName

Introduced
2.7.3
Environment
Desktop, Web and Server
Platform Support
Mac OS X,Windows,Linux
Security
Disk,Network
Summary
Adds an item to a zip archive and puts the specified data into it
Examples

revZipAddItemWithData tArchive, "myZippedItem", "tData"
revZipAddItemWithData the cArchive of me, "Test.txt", "This is a test text file"

Additional Comments
Expander triangle

Use the revZipAddItemWithData command to put data from a Revolution variable into a file in a zip archive. The archive must have first been opened with revZipOpenArchive.

Parameters:

The archivePath is the absolute path to the zip archive to add the file to.

The itemName is the unique name of the item to create in the zip archive.

The variableName is the name of a variable in your Revolution program containing data to place into the item in the zip archive.

If the revZipAddItemWithData command encounters an error then the result will be set to an error code beginning with "ziperr", otherwise the result will be empty.

User Comments
Expander triangle