Add File to Zip VI
- Updated2025-07-30
- 2 minute(s) read
Adds the file source file path specifies to a zip file. The destination path in zip control specifies the zipped path information.

Inputs/Outputs
zip file in
—
zip file in specifies the open zip file.
source file path
—
source file path specifies the path to file to add to the zip file.
destination path in zip
—
destination path in zip specifies the filename and the path to apply to the source file when the VI encodes the file into the zip file.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
zip file out
—
zip file out returns the open zip file. zip file out is analogous to a refnum or task ID.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\File IO\Zip\Create Zip File.vi
zip file in
—
source file path
—
error in (no error)
—
zip file out
—
error out
—