addUnZip question

This forum is for general support of Xbase++
Post Reply
Message
Author
User avatar
TWolfe
Posts: 60
Joined: Thu Jan 28, 2010 7:34 am

addUnZip question

#1 Post by TWolfe »

Is anyone using the addUnZip.DLL to unzip .ZIP files? If so have you figured out how to use the test option to test a zip file before unzipping it?

We occasionally get faulty backup zip files and they hangup the import program when we try to test them.

As an alternative is there another unzip option that will not hangup the system on a faulty .ZIP file?

Thanks,
Terry

bwolfsohn
Posts: 648
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: addUnZip question

#2 Post by bwolfsohn »

Terry,

We haven't tried testing zips, but what about running the command line version of winzip in a batch mode and testing the return value
Here's the screen output:

wzunzip -t wolfgang_grok
WinZip(R) Command Line Support Add-On Version 3.2 (Build 9715)
Copyright (c) 1991-2011 WinZip International LLC - All Rights Reserved

Zip file: wolfgang_grok.zip

Testing consignl.prg OK
No errors detected in compressed data of wolfgang_grok.zip.
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

User avatar
TWolfe
Posts: 60
Joined: Thu Jan 28, 2010 7:34 am

Re: addUnZip question

#3 Post by TWolfe »

Hi Brian,

I had thought of that, but we receive hundreds of files each day and I had hoped to use the addUnZip testing just to streamline the process.

Terry

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: addUnZip question

#4 Post by Auge_Ohr »

TWolfe wrote:Is anyone using the addUnZip.DLL to unzip .ZIP files? If so have you figured out how to use the test option to test a zip file before unzipping it?
what is your Problem with

Code: Select all

FUNCTION TestUnZip()
did you have some Test ZIP which are corrupt ?
greetings by OHR
Jimmy

Post Reply