Description:
Add one or more files to a zip file.
Syntax:
zip_add(zip,files)
Note:
The external library function (See External Library Guide) appends one or more files to a zip file.
Parameter:
zip |
A zip file object. |
files |
Name of a to-be-compressed file or FileObject; can be a sequence. |
Return
value:
Boolean value
Example:
|
A |
|
1 |
=zip_open("D:/z2.zip") |
Open a zip file. |
2 |
=zip_add(A1,"D:/dir1/conn.java") |
Add files under D:dir1/conn.java to A1’s zip file. |
3 |
>zip_close(A1) |
Close a zip file. |