xzipOpenNewFileInZip.vi

Open a file in the ZIP for writing.

filename : the filename in zip (if empty, '-' without quote will be used

if zipfi.tmz_date.tm_year=ok OR zipfi.dos_date != 0, zipfi contains supplemental information.

if extrafield_local != empty, extrafield_local contains the extrafield data for the local header

if extrafield_global != empty, extrafield_global contains the extrafield data for the global header

if comment != empty, comment contain the comment string

method contain the compression method (Store, Deflate)

level contain the level of compression


Connector Pane

xzipOpenNewFileInZip.vi


Controls and Indicators

cdlrn

file/in

"zip" filehandle from xzipOpen.vi

cstr

filename

ccclst

zipfi

typedef

struct

{

tm_xzip tmz_date; /* date in understandable format */

uLong dosDate; /* if dos_date == 0, tmu_date is

used */

uLong internal_fa; /* internal file attributes */

uLong external_fa; /* external file attributes*/

} xzip_fileinfo;

c1du8

extrafield_local

c1du8

extrafield_global

cstr

comment

cenum

method

cenum

level

Compression level.

0: Default

1: No compression, store data only

2: Compression on highest speed

3..9

10: Best compression but slow

ii32

Result

idlrn

file/out

Duplicated "zip" filehandle.