You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am reading data from an ftp stream using ssh2 (The entire code is not shown) var readStream = sftp.createReadStream("/dir/filename.zip") readStream.pipe(unzip.Parse()) .on('entry', entry => { console.log(Inside transform callback....); s3Manipulator.writeStreamToBucket('bucket_nm', entry.path, entry) }) .on('error', err => { console.log(Error thrown streaming ${err}); });
I am running this from an ubuntu system it shows upload activity, but after a while the error callback is invoked. The error is given below:
I am reading data from an ftp stream using ssh2 (The entire code is not shown)
var readStream = sftp.createReadStream("/dir/filename.zip") readStream.pipe(unzip.Parse()) .on('entry', entry => { console.log(
Inside transform callback....); s3Manipulator.writeStreamToBucket('bucket_nm', entry.path, entry) }) .on('error', err => { console.log(
Error thrown streaming ${err}); });
I am running this from an ubuntu system it shows upload activity, but after a while the error callback is invoked. The error is given below:
code:"Z_DATA_ERROR" errno:-3 message:"invalid literal/lengths set" stack:"Error: invalid literal/lengths set\n at InflateRaw.zlibOnError (zlib.js:153:15)" __proto__:Object {constructor: , name: "Error", message: "", …}
I have no clue as to why this happens.
Any help is appreciated, thanks in advance.
The text was updated successfully, but these errors were encountered: