Solved

untar library

Posted on 2007-04-02
7
485 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now