IPWorks ZIP 2020 Node.js Edition

Questions / Feedback?

BeginFile Event

Fired before a file is processed.

Syntax

zcompress.on('BeginFile', [callback])

Callback

The 'callback' is called when the 'BeginFile' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.index
e.skip

Remarks

BeginFile is fired before compression or decompression begins. Index will contain 0.

You may use the Skip parameter to tell the component to skip the file when compressing or decompressing.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Node.js Edition - Version 20.0 [Build 8300]