Moo_ZipExtract ( sFile; bTemp; bOverwrite );
This function extracts a Zip file.Parameters
| Name | Type | Required | Default | Description |
| sFile | String | Yes | The input ZIP file to be extracted. | |
| bTemp | Boolean | No | If false the ZIP file is extracted to the same folder as the input file. | |
| bOverwrite | Boolean | No | Overwrite existing file if it already exists. |
Return Value
Returns the path to the extracted file, or an error code.
Notes
Will be worked on to support extracting multiple files in a future version.
Errors
| Error Code | Description |
| Moo_ZipExtract|Err_1 | Invalid number of arguments. |
| Moo_ZipExtract|Err_2 | Invalid source Zip file input. |
| Moo_ZipExtract|Err_3 | Source Zip file doesn't exist. |
| Moo_ZipExtract|Err_4 | Error opening source Zip file. |
| Moo_ZipExtract|Err_5 | Empty Zip file. |
| Moo_ZipExtract|Err_6 | Error extracting Zip file. |
| Moo_ZipExtract|Err_7 | Error reading Zip headers. |
| Moo_ZipExtract|Err_8 | Error extracting Zip file. |
| Moo_ZipExtract|Err_9 | Error extracting Zip file. |
| Moo_ZipExtract|Err_10 | Error extracting Zip file. |
Related Functions
