Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ZipUtils::unzipFile Function
Syntax
C++
OdResult unzipFile(const OdString & filePath, const OdString & targetDir, bool overwriteTargetDir = true);

Unzips file to directory.

Parameters
Description
filePath
[in] A string containing path to the zip file.
targetDir
[in] A string containing name of the target directory.
overwriteTargetDir
[in] Return error if false and target directory is not empty; otherwise, overwrite target directory.

Returns appropriate error code.

File: ZipUtils.h 

Namespace: ZipUtils 

Copyright © 2002-2022. Open Design Alliance All rights reserved.