Solved

untar library

Posted on 2007-04-02
7
488 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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 …
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

808 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