Bug with copying large zip files



Hi Guys,

I have a problem with coyping large zipfiles back and forth. I cant really
believe this bug, so I tested it quite thouroughly before I wrote this
bugreport. Sure there r work arounds and sure I can do without zipping but
that isn’t the point.

Steps to reproduce the problem

Step 1 : Make the zipfile and test it.
Create a large zipfile a.zip. My testfile is a zip of a virtual pc, so it
consists of 1 large file and a few smaller ones. It totals to about 3.5GB.
Test 1 : Extract the newly created zipfile > The extraction is ok.

Step 2 : Copy the zipfile and test the copy.
I copy the zipfile to my ‘server’ over the network.
I start remote desktop to my server and extract the zipfile, extraction is
ok. I rename this copy to b.zip.

I copy b.zip from the server back to my laptop over the network.
Test : compare file properties -> same size
Test : open a.zip and b.zip with winzip and compare the crc’s -> same crc
Test : extract the copied b.zip on laptop -> CRC error.

Now here’s the real cracker :
I delete the b.zip from my server disk.
I copy the b.zip that was supposed to be damaged (bad crc) from my local
disk back to the server disk again.
Now I can extract it in 2 ways ofcourse.
1) I use my laptop and network; I extract it on the server disk; I still get
the CRC error.
2) I start remote desktop from my server and extract the same (damaged ?!?)
zip file using the server. Now the file extracts ok so the zipfile is not
damaged at all ?


Some of my conclusions :

- It is unlikely to be a hardware problem in the laptop because I tested it
with a 2nd laptop and the problem persists.
- It is impossibly a hardware problem in the network because if I copy the
zip to the network and extract it with the server it works fine.
- It is unlikely to be a bug in Winzip because if I use the built in zip
functionality of Windows I get the same results.
- It cant be a fat32 file size problem cuz both disks are NTFS formatted.
- It cant have something todo with different file systems because both disks
(latop and network) are NTFS formatted.
- Its not a problem that is unique to Windows Vista cuz if I use a laptop
with Windows XP I get the same problem.
- It cant be a problem with the local disk of the laptop, because if I
extract it on the server disk using my laptop and network I get the same
problem.
- It can not be a problem with the server disk because if I extract on the
server disk and running winzip on the server it extracts ok.
- So it only goes wrong if I run the extraction procces on the laptop, and
only after the file has been copied back and forth. The original zipfile
extracts ok.





So what the **** is going on ????!?!?!?!?

System info :

Laptop : Windows Vista Home premium
‘Server’ : Windows XP professional

Hardware info :

Laptop :
HP dv9000.
Processor Intel Dual core 1.66 Ghz
Harddisk is an internal drive Toshiba 120GB.

‘server’
Medion
Processor : hyperthreading Pentium 4 (3Ghz).
Harddisk is external 500GB Lacie drive connected by USB 2.0.

Network :
Server 100Mb adapter Rhine III,
Laptop 1Gb adapter,
Connected by a 10/100 sitecom switch.


.



Relevant Pages

  • RE: Bug with copying large zip files
    ... Make the zipfile and test it. ... Extract the newly created zipfile> The extraction is ok. ... I copy b.zip from the server back to my laptop over the network. ...
    (microsoft.public.windows.file_system)
  • Re: Bug with copying large zip files
    ... Extract the newly created zipfile> The extraction is ok. ... I copy the zipfile to my 'server' over the network. ... I copy b.zip from the server back to my laptop over the network. ... I delete the b.zip from my server disk. ...
    (microsoft.public.windows.file_system)
  • Re: Problem with zipfile and newlines
    ... I think I've worked it out after reading the 'Binary mode for files' ... The upshot of this is that writing out the zipfile-extracted files ... I've got a zipped archive that I can extract files from with my ... files in python via the zipfile module. ...
    (comp.lang.python)
  • Re: Project dream
    ... > A CVS-like system for email. ... the server shouldn't need any special protocol to ... > zipfile when you upload ... Mail.app can import from most formats and will upload on sync... ...
    (comp.lang.python)
  • Re: upload and unzip on server
    ... > how to upload a zipfile and unzip it on the server? ...
    (comp.lang.php)

Loading