Re: Problem with streamed ZIP file and Windows XP
- From: "Robbie" <rbaldock@xxxxxxxxxxxxx>
- Date: 10 May 2005 02:11:14 -0700
Chris Uppal wrote:
> Spaces in filenames /shouldn't/ cause problems. They don't on my
system
> (XP-pro but without SP2).
I think you're probably right - but we want to remove this possibility.
> Hmm, how are you creating the zip file ? With the Java ZIP
implementation
> (java.util.zip.ZipOutputStream and friends) ? If so then it should
be pretty
> obvious -- just set the name to whatever you want (but ensure that
> it's unique) when you add the data.
Yes, apologies for that, we are using java.util.zip so we will just
change the name of the file being added.
After your suggestion to use zipinfo to compare WinZip files and files
generated by java.util.zip we did identify some differences and we
still have the problem after removing the path I'll post these to see
whether anyone can spot the differences that are preventing Windows XP
from opening the file.
Thanks again for the input.
Robbie
.
- References:
- Problem with streamed ZIP file and Windows XP
- From: Robbie
- Re: Problem with streamed ZIP file and Windows XP
- From: Chris Uppal
- Re: Problem with streamed ZIP file and Windows XP
- From: Robbie
- Re: Problem with streamed ZIP file and Windows XP
- From: Robbie
- Re: Problem with streamed ZIP file and Windows XP
- From: Chris Uppal
- Problem with streamed ZIP file and Windows XP
- Prev by Date: Re: JVM optimization
- Next by Date: Re: JVM optimization
- Previous by thread: Re: Problem with streamed ZIP file and Windows XP
- Next by thread: Java WSDP 1.5 and Tomcat 4
- Index(es):
Relevant Pages
|