473,413 Members | 2,043 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

reading txt file located in zip archives

Looking2Learn
Hi,
I'm currently attempting to read a text file that is located in two subsequent zip archives, (ex: archive1.zip/archive2.zip/textfile.txt).

In my looking around the web, I came across perl's "Archive::Zip::MemberRead", but I couldn't find any good tutorials on using it.

Can I use "Archive::Zip::MemberRead" to accomplish what I'd like to do?
If so, could anyone point to some good examples/tutorials, etc?
And if not, could someone point me in the right direction?

Thanks!

Josh
Jul 2 '08 #1
3 1478
nithinpes
410 Expert 256MB
Archive::Zip::MemberRead is the right option for your requirement. You can find some sample scripts along with the download in CPAN.

-Nithin
Jul 3 '08 #2
Great, thanks!

As a follow-up question, in reading through the FAQ for Archive::Zip on CPAN, the author mentioned the "examples" directory
http://search.cpan.org/~adamk/Archive-Zip-1.23/lib/Archive/Zip/FAQ.pod#Sample_code?
But (and I realize this is noobish), being new to the CPAN site, I can't find that directory.
If anyone could provide a link to it, I would appreciate it very much.
Thanks!

Josh
Jul 7 '08 #3
Never mind, just found it.
Jul 7 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Srinivas Kadiyala | last post by:
HI, I would like to know, how to execute a exe file that is located on a remote computer, from windows form? Regards
19
by: Lionel B | last post by:
Greetings, I need to read (unformatted text) from stdin up to EOF into a char buffer; of course I cannot allocate my buffer until I know how much text is available, and I do not know how much...
4
by: Oliver Knoll | last post by:
According to my ANSI book, tmpfile() creates a file with wb+ mode (that is just writing, right?). How would one reopen it for reading? I got the following (which works): FILE *tmpFile =...
2
by: dotnettester | last post by:
Hi, I want to write a file to browser which is located on another machine but connected on same network. For example if I try \\machine-1\filefolder\file1.pdf in the browser on machine-0...
6
by: sambuela | last post by:
How can I write message to the file located in the wwwroot directory? It seems that IIS protect these files. Let make me cannot do the I/O writing sucessfully. I try to open file's write...
3
by: Jack | last post by:
Hi there, In a submit button event, I need to open a (server-side) file relative to the folder containing the ".aspx" file. What's the correct way to locate the ".aspx" folder itself inside my...
3
by: miss time | last post by:
Hi all, my java friends ^-^ I have next week quiz in reading file text ,and understand the topic very well. can any one give some question related to this topic .this help me more to...
1
Coldfire
by: Coldfire | last post by:
Hi, The strange problem i am having is, the input element of type='file' not reading file names after 20 file elements. It simple returns null on reading the 'name' of file. The code is...
1
by: bjoarn | last post by:
I have an Application C# handling file reading, building index on this file, using dll wrapped with SWIG. The dll is originaly programmed in C++. Dll reports back to the the C# programm throug...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.