RE: Zip archives

2003-07-30 Thread Dan Muey
> Dan Muey wrote: > > > Dan Muey wrote: > > > > I'm looking at Archive::Zip to extract a single text file > > > from a zip > > > > file that is ftped from a winders box to a unix box. > > > > > > > > The zip file conatins only one file, a .txt file, that is > > > compressed > > > > pretty well. (ab

RE: Zip archives

2003-07-30 Thread Dan Muey
> Dan Muey wrote: > > > > Or would this be right for grabbing a certain file fomr a > multi file > > zip archive: (long variable names are just for descriptive purposes > > ;p) > > > > for($zip->members) { > > if($_->fileName =~ $filenameinzipiwanttograb) { > > $_->extractToFileNamed($filenameiw

Re: Zip archives

2003-07-30 Thread Rob Dixon
Dan Muey wrote: > > Or would this be right for grabbing a certain file fomr a multi file zip archive: > (long variable names are just for descriptive purposes ;p) > > for($zip->members) { > if($_->fileName =~ $filenameinzipiwanttograb) { > $_->extractToFileNamed($filenameiwanttocreathere) or die 'e

RE: Zip archives

2003-07-30 Thread Dan Muey
> > Dan Muey wrote: > > > I'm looking at Archive::Zip to extract a single text file > > from a zip > > > file that is ftped from a winders box to a unix box. > > > > > > The zip file conatins only one file, a .txt file, that is > > compressed > > > pretty well. (about 170 MB regular 18MB zipped up)

Re: Zip archives

2003-07-30 Thread Rob Dixon
Dan Muey wrote: > > Dan Muey wrote: > > > I'm looking at Archive::Zip to extract a single text file > > from a zip > > > file that is ftped from a winders box to a unix box. > > > > > > The zip file conatins only one file, a .txt file, that is > > compressed > > > pretty well. (about 170 MB regular

Re: Zip archives

2003-07-30 Thread Pablo Fischer
El día Wednesday 30 July 2003 6:45 a Dan Muey mandó el siguiente correo: > I guess I'm a bit lost as to where $this->{WHATEVERS} gets created and > where and how you call descomprimir_zip(); All its a class that I made. > All I need to do is extract one file from one zip file > into one text file

RE: Zip archives

2003-07-30 Thread Dan Muey
> > Any pointers/ideas/experience about how to do that? > > Hi Dan. > > The program below is the very basic stuff to do what you > want. It does no error checking except to make sure that the > zip file opened OK, and just extracts the first file in the > archive with to a file with a name pre

RE: Zip archives

2003-07-30 Thread Dan Muey
> Dan Muey wrote: > > I'm looking at Archive::Zip to extract a single text file > from a zip > > file that is ftped from a winders box to a unix box. > > > > The zip file conatins only one file, a .txt file, that is > compressed > > pretty well. (about 170 MB regular 18MB zipped up) > > > > Dat

RE: Zip archives

2003-07-30 Thread Dan Muey
> Hi! Howdy! > > Im gonan try to help you, cause Im doing the same. Getting > certain files from > a FTP Server, saving them in a directory already defined, > unziping them in a > temp directory, parsing the file (thanks to all the list), > and saving some > data to a MySql DataBase. Coo

Re: Zip archives

2003-07-30 Thread Rob Dixon
Dan Muey wrote: > I'm looking at Archive::Zip to extract a single text file from a zip file that is > ftped from a winders box to a unix box. > > The zip file conatins only one file, a .txt file, that is compressed pretty well. > (about 170 MB regular 18MB zipped up) > > Data.txt is apx 170MB > Da

Re: Zip archives

2003-07-30 Thread Pablo Fischer
Hi! Im gonan try to help you, cause Im doing the same. Getting certain files from a FTP Server, saving them in a directory already defined, unziping them in a temp directory, parsing the file (thanks to all the list), and saving some data to a MySql DataBase. > Data.txt is apx 170MB > Data.tx

Zip archives

2003-07-30 Thread Dan Muey
I'm looking at Archive::Zip to extract a single text file from a zip file that is ftped from a winders box to a unix box. The zip file conatins only one file, a .txt file, that is compressed pretty well. (about 170 MB regular 18MB zipped up) Data.txt is apx 170MB Data.txt is zipped into 'data.z