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

revZipAddUncompressedItemWithData archivePath, itemName, variableName

Introduced
2.8.1
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 without compressing the data.
Examples

revZipAddUncompressedItemWithData tArchive, "My Uncompressed Data.txt", "This is my data"

Additional Comments
Expander triangle

Use the revZipAddUncompressedItemWithData command to put data from a Revolution variable into a file in a zip archive without compressing the data. The archive must have first been opened with revZipOpenArchive. This command is useful if data is being placed into an archive simply to package it up neatly, rather than to reduce the size of the data. Using revZipAddUncompressedItemWithData to add items to archives is generally faster than using the revZipAddItemWithData command, which compresses the data.

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 revZipAddUncompressedItemWithData 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