Unzip()
will unzip the content of given zipfile
Usage
QUERY = Unzip(
destination,
zipfile,
charset,
flatten,
overwrite
)
Argument | Summary |
---|---|
destination | The directory into which the contents of the zip file will be extracted. |
zipfile | The path and file name of the zip file on which the action will be performed. |
charset | Used to specify a character set to be used for file operations. [optional] |
flatten | When extracting the contents of an existing zip file, the flatten attribute indicates whether or not to retain the directory structure of the zip file. false: indicates the directory structure will not be retained, true: indicates that the directory structure will be retained. DEFAULT:FALSE. [optional] |
overwrite | unzip: Specifies whether to overwrite the extracted files:true: If the extracted file exists at the destination specified, the file is overwritten.false: If the extracted file exists at the destination specified, the file is not overwritten and that entry is not extracted. The remaining entries are extracted. [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
Unzip( destination=?, zipfile=?, charset=?, flatten=?, overwrite=? );
Supports passing parameters as a structure using ArgumentCollection:
Unzip( ArgumentCollection={ destination : ?, zipfile : ?, charset : ?, flatten : ?, overwrite : ? } );
See Also
DirectoryCreate
DirectoryDelete
DirectoryExists
DirectoryList
Expandpath
FileClose
FileCopy
FileDelete
FileExists
FileIseof
FileMove
FileOpen
FileRead
FileReadbinary
FileReadline
FileSeparator
FileSetaccessmode
FileSetattribute
FileSetlastmodified
FileUpload
FileUploadall
FileWrite
FileWriteline
GetDirectoryfrompath
GetFilefrompath
GetFileinfo
GetTempdirectory
GetTempfile
Unzip
Zip
Ziplist