?
Solved

untar library

Posted on 2007-04-02
7
Medium Priority
?
493 Views
Last Modified: 2008-01-09
Hi experts,

I am looking for a library that can unpack zip files (tar, gzip, zip)
and that works cross platform (windows and linux)
I would prefer not to use a simple shell execute, but something that works in memory
and offers some sort of an object (hashed array?) to access the packed files content.
Does something like that exist?

Please only answer if you have done this using this library.
Don't send links you just googled.

Thanks

Geert
0
Comment
Question by:Geert Bormans
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 60

Author Comment

by:Geert Bormans
ID: 18835040
I would like a javascript solution, if that exists
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 1500 total points
ID: 18835062
Javascript is normally used as a client side scripting language that lives in a web page.
It cannot read tar and cannot write files.
Are you sure that is what you are looking for and not a JAVA (programming language) package?
Like this http://www.koders.com/java/fid5AE4054C955EF855A0717C954D6B41E9BA9C0AC8.aspx

Michel
0
 
LVL 60

Author Comment

by:Geert Bormans
ID: 18835116
I use JavaScript in a context to express processing pipelines
(far away from the web and client scripting environment)
mainly because of its E4X support

I know its limitations as a "programming language"
and I have some alternatives... Python, Ruby or BeanShell
Don't want to do full blown Java... but I guess the package you suggest
would work from beanshell as well.

I will give it a try, thanks

meanwhile I leave this open, you never know someone has a JS solution

cheers

Geert
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 18835275
Ok, I asked because it was not clear that you were looking for a serverside js solution.
0
 
LVL 60

Author Comment

by:Geert Bormans
ID: 19234278
The silence on this question
and some personal research
makes me realise there is not a direct solution to this problem
so I am gonna close this question

Thanks for the effort and your attention Michel

cheers

Geert
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19234520
You are welcome
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question