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
file/in "zip" filehandle from xzipOpen.vi |
filename |
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; |
tmz_date typedef struct { uInt tm_sec; /* seconds after the minute - [0,59] */ uInt tm_min; /* minutes after the hour - [0,59] */ uInt tm_hour; /* hours since midnight - [0,23] */ uInt tm_mday; /* day of the month - [1,31] */ uInt tm_mon; /* months since January - [0,11] */ uInt tm_year; /* years - [1980..2044] */ } tm_xzip; |
tm_sec |
tm_min |
tm_hour |
tm_mday |
tm_mon |
tm_year |
dos_date |
internal_fa |
external_fa |
extrafield_local |
extrafield_global |
comment |
method |
level Compression level. 0: Default 1: No compression, store data only 2: Compression on highest speed 3..9 10: Best compression but slow |
Result |
file/out Duplicated "zip" filehandle. |