Solved

untar library

Posted on 2007-04-02
7
490 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
  • 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 500 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
Mobile page Scrolling down when refreshing 4 61
Javascript Form Change 5 31
alert(innerHTML); 8 32
JQuery Syntax... 4 28
This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…

790 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