Hi,
        I need to test the following zipfile with the following script for the testing 
purpose.

#################################################
Zip file: filname.zip can be opened. But, the zipped file(file which is inside the 
zip) can not be opened. It shows the Error: Invalid compressed data to inflate.
#################################################
script:
#################################################
my $status = $zip->read( $zippedname );
    #Create object to CRCComputingFileHandle
    my $fh = CRCComputingFileHandle->new();
    #To each member/file of the zip file
    foreach my $member ($zip->members())
    {
        #Method for compression
        $member->desiredCompressionMethod(COMPRESSION_STORED);
        #Filehandle return to status
        $status = $member->extractToFileHandle($fh); #exit the flow.
    }
#################################################

If I test the script with the above zip file, The script dies at the place 
extractToFileHandle.
How do I handle this. (Even I tried with the 'eval' also. It is not working)
please let me know answer if anybody know?

regards
Srinivas

This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to