We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
unzip (Read 686 times)
unzip
Feb 19th, 2010, 2:40am
 
hello,

Is anybody know how can i unzip a .zip file ?

for exemple i have on my hardisk a file named tst.zip which contain subfolders and files and i would like to have a useful folder named tst with all the subfolders and files.
Re: unzip
Reply #1 - Feb 19th, 2010, 2:57am
 
look at this : http://processing.org/discourse/yabb2/?num=1143653837
Re: unzip
Reply #2 - Feb 19th, 2010, 4:05am
 
Well it seems to be what i need but i don(t understant how must i use it !

I downloaded and installed library.

i think the instruction is UnZipIt with the zipname as a string but i don't understand what is the second parameter (PApplet parent ! )
Re: unzip
Reply #3 - Feb 19th, 2010, 6:29am
 
When you see a parameter as PApplet parent, you give this to it:
foo(fileName, this)
for example.
Re: unzip
Reply #4 - Feb 19th, 2010, 8:52am
 
Thank you.

Seltar gave me some informations on this post

http://processing.org/discourse/yabb2/num_1194145248.html#11

So i work now there.
Page Index Toggle Pages: 1