Solved

untar library

Posted on 2007-04-02
7
491 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 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help with this homework problem. 5 59
need help with share buttons 11 71
Timer on div 5 24
Make a span connected to the price so when qty changes so does pricing 11 30
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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

733 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