| Syntax |
$io.zipAdd{zip_file_name}{file_name}{bytes_per_character}{file_contents} |
| Documentation | Compress a file.
zip_file_name, the name of the zip file (see the note about the filename syntax at the end of this document). If the zip file exists the specified file will be added to its contents else the zip file will be created. file_name, the name of the file to be zipped (see the note about the filename syntax at the end of this document). bytes_per_character, the amount of bytes per character. Valid values are 1 for ASCII characters or 2 for unicode characters. The value of this parameter defaults to 1. file_contents, the contents of the file to be zipped. |
| Examples | |
| Group | Special |
| Minimum required transaction-mode: | UPDATE=IO |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 2 |
| Maximum parameters | 4 |