In my temp directory stayed several oldest zip files. During the spanning ZipMaster was affectted by these oldest files. I did delete them and the problem was solved. My solution is delete all "zip*.zip" in the temp directory before new zip process. Thanks Alfeu R. Peters wrote: >I am assuming that you are adding files to a spanned archive - if this is >not correct please let me know. > >For this {$DEFINE NO_SPAN} must not be defined. >The file you are attempting to add to is the last part of a zip archive - >without NO_SPAN defined ZipMaster reconstructs the file before trying to add >to it (it has to have san support to do this). > >I will restore my copy of 1.76 and make certain the define is not in >multiple places. >I have made a number of changes to those sources but don't recall any such >problems - you could (in Delphi IDE) search all files for NO_SPAN and make >certain that it is not defined anywhere else; also check that it is not set >in program options (directories - defines section). >if you are using run-time packages make certain you recompile it after >changing the ZipConfig.inc file. >You can also check via a call to (TZipMaster) FullVersionString which will >show if 'span' is supported. >- Russell Peters >----- Original Message ----- >From: "Alfeu Marcatto" <alfeu@xxxxxxxxxxxxxx> >To: <delphizip@xxxxxxxxxxxxx> >Sent: Sunday, July 25, 2004 9:32 PM >Subject: [delphizip] Re: 1.76 - Zip file structure invalid > > >This is the verbose result of a span and no span option. >To each execution the file with error (japan.btl) is other. > >Process with span option > >Add >Temporary zipfile: C:\Documents and Settings\Administrador\Configurações >locais\Temp\zip10.zip >trace: Using ZIPDLL.dll version 1.76.5.4 Jun 12 2004 >trace: b switch found >trace: reached "no dash was found"; checking for zip name or fname >trace: k was 1 >trace: reached "no dash was found"; checking for zip name or fname >trace: k was 0, need zipfname >trace: ready to read zip file >trace: ready to open: C:\Documents and >Settings\Administrador\Configurações locais\Temp\zip10.zip for read only >trace: zip archive is now open >bad extended local header for : bde\japan.btl >trace: err returned from "readzipfile" >Teste 1 - ERRO 197123: Zip file structure invalid >trace: *** BACK FROM CALL TO ZIPMAIN *** >Files acted on = 0 > > > >Same process without span option (showing only messages about file >japan.btl) > >... >trace: spot 1: Add file D:\bde\japan.btl to found list >... >adding: bde\japan.btl >trace: writing Local Header: D:\bde\japan.btl >trace: writing Local Header: D:\bde\japan.btl >deflated in=880364, out=186940, 79% >Testing bde\japan.btl >Trace Msg: unpack the file >Trace Msg: starting inflate >Trace Msg: inflate codes >Trace Msg: inflate_codes returning 0 >Trace Msg: inflate_dynamic returning 0 >Trace Msg: inflate codes >Trace Msg: inflate_codes returning 0 >Trace Msg: inflate_dynamic returning 0 >Trace Msg: inflate codes >Trace Msg: inflate_codes returning 0 >Trace Msg: inflate_dynamic returning 0 >Trace Msg: inflate codes >Trace Msg: inflate_codes returning 0 >Trace Msg: inflate_dynamic returning 0 >Trace Msg: inflate codes >Trace Msg: inflate_codes returning 0 >Trace Msg: inflate_dynamic returning 0 >Tested file bde\japan.btl of size 880364 >Trace Msg: about to process local file hdr > > >Alfeu Marcatto wrote: > > > >>I doing a test with the version 1.76. >>I commented {$DEFINE NO_SPAN} in ZipConfig.inc >>When I try compact with span option I get the error 197123: Zip file >>structure invalid >> >>The same code and files to zip with version 1.75 was compacted successfully >> >>Thanks >> >>Alfeu >> >>----------- >>To unsubscribe from this list, send an empty e-mail >>message to: >> delphizip-request@xxxxxxxxxxxxx >>and put the word unsubscribe in the subject. >> >> >> >> >> > >----------- >To unsubscribe from this list, send an empty e-mail >message to: > delphizip-request@xxxxxxxxxxxxx >and put the word unsubscribe in the subject. > >----------- >To unsubscribe from this list, send an empty e-mail >message to: > delphizip-request@xxxxxxxxxxxxx >and put the word unsubscribe in the subject. > > > ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject.