Navigation:  ThinBASIC Modules > ZLIB >

ZLib_Extract

Previous pageReturn to chapter overviewNext page

 

Description

 

Extract files from a compressed Zip file.

 

Syntax

 

n = ZLib_Extract(sZipFile [, OutputDirectory])

 

Returns

 

Number.

0 (zero) means success

<> 0 means error (see error code)

 

Parameters

 

Name

Type

Optional

Meaning

sZipFile

String

No

Full path name of the compressed Zip file

OutputDirectory

String

Yes

Full path where to extract compressed files.
IMPORTANT: Relative or absolute paths included in compressed files will be recreated starting from this path

 

Remarks

 

IMPORTANT: Relative or absolute paths included in compressed files will be recreated starting from OutputDirectory path.

 

Restrictions

 

See also

 

ZLib_List, ZLib_Find, ZLib_ExtractToString,

 

Examples