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

revZipReplaceItemWithData archivePath, itemName, variableName

Introduced
2.7.3
Environment
Desktop, Web and Server
Platform Support
Mac OS X,Windows,Linux
Security
Disk,Network
Summary
Replaces the contents of an item in a zip archive with the contents of a variable.
Examples

revZipReplaceItemWithData tArchive, "myZippedItem", "tData"
revZipReplaceItemWithData the cArchive of me, "Test.txt", "tNewTest"

Additional Comments
Expander triangle

Use the revZipReplaceItemWithData command to put the contents of a variable in your Revolution program into one of the items of an open zip archive. The archive must have first been opened with the revZipOpenArchive command.

Parameters

The archivePath is the absolute path to the zip archive to process.

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

The variableName is the name of the variable in your program containing the data to replace with.

If the revZipReplaceItemWithData 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