tanaikech / unzipgs Goto Github PK
View Code? Open in Web Editor NEWThis is a GAS library for unzipping a Zip file protected by a password using Google Apps Script.
License: MIT License
This is a GAS library for unzipping a Zip file protected by a password using Google Apps Script.
License: MIT License
Exception: File 2716271_TLOK_S2E1.rar exceeds the maximum file size. (line 48, file "Code")
Hi, for some reason I get an error while trying to use UnzipGs. The fileId is correct and I'm not using v8 with this...
Any idea please?
Thanks!
Cédric
Error
InternalError: Cannot convert Array to (class)[].,Exception: Could not unzip.
(anonymous) @ Code.gs:63
unzip @ Code.gs:18
sample @ Code.gs:6
Hello,
I'm trying to develop a code which gets encrypted ZIP contents in XML file and then decodes it with your script - but it seems like it doesn't support all encoding types. I can see that my data is compressed with AES-256 Deflate, is that anything unusual?
Also, which content type should I apply while creating a blob for unzipping purposes? Right now I have 'application/octet-string', is that okay?
Hi, can't get this working.
I'd like to unzip password protected GmailAttachments, but I'm always getting an error:
Error: Please set a file blob of zip file.
The attachment.toString() returns GmailAttachment and not Blob as expected on L44: if (blob_.toString() !== "Blob") {
So I tried workaround to save the attachment to the DriveApp temp folder and tried to use it as in README
var file = saveToTmp(data);
var tmpFile = DriveApp.getFileById(file.getId());
var res = UnzipGs.unzip(tmpFile.getBlob(), { password: "my pwd"});
But I got this error: TypeError: e.subarray is not a function at $(Code:40:67) at t.Y(Code:40:309)
Can you point me what I am doing wrong? Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.