Thanks ryan !,
I was decompress success .
ex:
i using module tar.gz of node
My file using : *.tar.gz
var targz = require('tar.gz');
var a= new targz().extract(source path , destination path, function(err){
Vào 21:04:51 UTC+7 Thứ hai, ngày 14 tháng tư năm 2014, ryandesign đã viết:
>
>
> On Apr 14, 2014, at 04:57, Tcl Tien wrote:
>
> > My project is Upload a file (zip , tar , gz ...) and after decompress it
> in a path using node js . But i searching in internet and i can't find a
> way to do it .
> >
> > i using zlib , unzip , adm-zip modules of node but i can't decompress
> file
>
> Why can’t you decompress file?
>
> I Googled “nodejs decompress file” and the second hit was a stack overflow
> post linking to adm-zip; the adm-zip homepage has an example of how to
> extract a zip file, doesn’t it?
>
> We’re not going to write your code for you. If something’s not working,
> show us your code, the result you get, and the result you expected, and
> maybe someone can help you find the error.
>
>
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.