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.