in reply to Re: HTTP::Response parse and save attached zip file.
in thread HTTP::Response parse and save attached zip file.
Code moved to question per thomas895, thank you.
The data shown (GotToBTru), is the response.
What module would best parse the content to extract the attached binary Zip file?
Good questions thomas895;
When you run that code, what happens?
I can see the data (shown in question). But I can't get parts to give me the second multipart message (mime) which contains the Zip file.
Do you get an error message?
No error message that I am aware of (apache log, or in browser)
What does it say? N/A
How have you tried to fix it?
I can get my script to display the response data (shown in question), saved as binary, when I open the response mime file in my thunderbird email, the zip file is there, but it is corrupt (wrong size too).
If you don't get an error, how does the result differ from what you expect?
I cant get to the Zip file. I want to extract it and save it to a file.
Does your zip library of choice support extraction from memory?
I dont have one yet... I am considering Archive::Zip.
Thanks for your replies. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: HTTP::Response parse and save attached zip file.
by sharprez (Novice) on Oct 12, 2015 at 14:45 UTC |