[delphizip] Re: Error in spanned files

  • From: Alfeu Marcatto <alfeu@xxxxxxxxxxxxxx>
  • To: delphizip@xxxxxxxxxxxxx
  • Date: Tue, 17 Aug 2004 16:13:07 -0300

Thanks Roger

Here is the settings and messages:

In MaxVolumeSize = 1300 kb I receive an error 11001 (DS_NoInFile = 
'Input file does not exist').
In MaxVolumeSize = 1000 kb the error don't occur.

FMain.ZipMaster1.AddOptions := FMain.ZipMaster1.AddOptions +
   [AddDirNames, AddSeparateDirs, AddRecurseDirs, AddHiddenFiles];
FMain.ZipMaster1.MaxVolumeSize := 1300 * 1024; // Or 1000 * 1024;
FMain.ZipMaster1.AddOptions := FMain.ZipMaster1.AddOptions - [AddUpdate];
FMain.ZipMaster1.AddOptions := FMain.ZipMaster1.AddOptions + [AddDiskSpan];
FMain.ZipMaster1.Unattended := False;
FMain.ZipMaster1.FSpecArgs.Add('D:\BCC55\*.*');
FMain.ZipMaster1.ZipFileName := 'F:\Temp\Teste 2.zip';
FMain.ZipMaster1.Add;

In trace mode these are the messages returned for both versions of 
MaxVolumeSize (1300 or 1000)

Teste 2 - ERRO 0: Temporary zipfile: C:\Documents and 
Settings\Administrador\Configurações locais\Temp\zip81.zip
Teste 2 - ERRO 0: trace: Using ZIPDLL.dll version 1.76.5.4 Jun 12 2004
Teste 2 - ERRO 0: trace: b switch found
Teste 2 - ERRO 0: trace: reached "no dash was found"; checking for zip 
name or fname
Teste 2 - ERRO 0: trace: k was 1
Teste 2 - ERRO 0: trace: reached "no dash was found"; checking for zip 
name or fname
Teste 2 - ERRO 0: trace: k was 0, need zipfname
Teste 2 - ERRO 0: trace: ready to read zip file
Teste 2 - ERRO 0: trace: ready to open: C:\Documents and 
Settings\Administrador\Configurações locais\Temp\zip81.zip for read only
Teste 2 - ERRO 0: trace: r switch found
Teste 2 - ERRO 0: trace: E switch found
Teste 2 - ERRO 0: trace: reached "no dash was found"; checking for zip 
name or fname
Teste 2 - ERRO 0: trace: k was 4
Teste 2 - ERRO 0: trace: k was 5, look for next arg fnames
Teste 2 - ERRO 0: trace: spot 1: Add file D:\BCC55\Bin\bcc32.exe to 
found list
... All files are processed

Teste 2 - ERRO 0: trace: action = ADD
Teste 2 - ERRO 0: trace: zcount=0 (no. of files in ZIP already)
Teste 2 - ERRO 0: trace: Destination type = 3
Teste 2 - ERRO 0: trace: checking marked entries
Teste 2 - ERRO 0: trace: checking new entries
Teste 2 - ERRO 0: trace: in dllzip - ready to create new file
Teste 2 - ERRO 0: trace: Zipping up 1448 NEW entries from found list
Teste 2 - ERRO 0:   adding: BCC55\Bin\
Teste 2 - ERRO 0: trace: writing Local Header: D:\BCC55\Bin\
Teste 2 - ERRO 0: trace: writing Local Header: D:\BCC55\Bin\
Teste 2 - ERRO 0: stored  in=0,  out=0,  0%
Teste 2 - ERRO 0:   adding: BCC55\Bin\bcc32.exe
Teste 2 - ERRO 0: trace: writing Local Header: D:\BCC55\Bin\bcc32.exe
Teste 2 - ERRO 0: trace: writing Local Header: D:\BCC55\Bin\bcc32.exe
Teste 2 - ERRO 0: deflated  in=869376,  out=452476,  48%
... All files are processed

Teste 2 - ERRO 0: trace: writing central directory
Teste 2 - ERRO 0: Total Bytes=53300724, compr bytes=9227767 -> 83% savings
Teste 2 - ERRO 0: trace: writing end of central directory
Teste 2 - ERRO 0: trace: *** BACK FROM CALL TO ZIPMAIN ***
Teste 2 - ERRO 0: Files acted on = 1448
Teste 2 - ERRO 0: Copying: BCC55\Bin\
Teste 2 - ERRO 0: Copying: BCC55\Bin\bcc32.exe
... All files are processed

Here is 1000 version. The error don't occur:

Teste 2 - ERRO 0: Copying: Central Directory
Teste 2 - ERRO 0: List - expecting 1448 files
Teste 2 - ERRO 0: List - [0] "BCC55/Bin/"
Teste 2 - ERRO 0: List - adding "BCC55\Bin\" []
Teste 2 - ERRO 0: List - [1] "BCC55/Bin/bcc32.exe"
Teste 2 - ERRO 0: List - adding "BCC55\Bin\bcc32.exe" []
... All files are processed

Here is 1300 version. The error occur:

Teste 2 - ERRO 0: Copying: Central Directory
Teste 2 - ERRO 0: Trace : GetNewDisk Opening: F:\Temp\Test007.zip 
(F:\Temp is the destination directory)
Teste 2 - ERRO 11001: Input file does not exist




Roger Aelbrecht wrote:

>Alfeu Marcatto wrote:
>  
>
>>I tried span files spliting it in pieces with 1300 kb each.
>>I've got 8 files and the last one with 88 kb.
>>I received the error 11001 (DS_NoInFile = 'Input file does not
>>exist'). 
>>
>>If I change the MaxVolumeSize to 1000 kb the error not occur (last
>>file = 191 kb).
>>In both situations the files was successfully extracted with ZipMaster
>>but only the
>>second version (1000 kb) was extracted with WinZip.
>>
>>Alfeu
>>-----------
>>To unsubscribe from this list, send an empty e-mail
>>message to:
>>  delphizip-request@xxxxxxxxxxxxx
>>and put the word unsubscribe in the subject.
>>    
>>
>
>Can you show us some of the code you used for setting all your
>parameters.
>There is no obvious reason why you should have that error , unless
>the original file gets overwritten by one of the resulting parts
>
>It could also help if you stored all the received messages, 
>this could gave an indication at what part of the operation
>(copying files, copying EIC ??) the error occured.
>
>
>Roger Aelbrecht
>http://home.tiscali.be/driehoeksw
>
>-----------
>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.

Other related posts: