Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ZipUtils::zipToFile Function
Syntax
C++
OdResult zipToFile(const OdString & targetFile, const OdString & filesDir, bool overwriteTargetFile = true);

Zips directory to file.

Parameters
Description
targetFile
[in] A string containing path to the target zip file.
filesDir
[in] A string containing name of the source directory.
overwriteTargetFile
[in] Return error if false and target file exists; otherwise, overwrite target file.

Returns appropriate error code.

File: ZipUtils.h 

Namespace: ZipUtils 

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