Compressed file is either corrupted or invalid

G

Guest

I have a Unix system running that PKZIPs files that are requested from a web
page user so they can all be sent to a user that is using my web page. I am
able to send the images to the users that are using Windows 98 but, when they
upgrade to Windows XP, they are not able to view the files. They get an
error stating that the Compressed file is either corrupted or invalid.

I FTPd the zip file that is sent to the web page user over to a Windows XP
computer and then tried to unzip the file. The file unzips perfectly. I am
able to download the file from the server computer into the Windows XP
computer via a modem and it unzips perfectly. The only method that does not
work is through a web page. The browser I use does not matter. I have tried
several and the same error comes up on the Windows XP machine.

I was wondering if Windows XP has some sort of security protection built
into it to prevent certain zip files from being stored on the system? I
right clicked on the downloaded file and selected properties and noticed that
I had the option to unblock the file. So, I unblocked the file and that did
not do any good. I got the same error.
I even tried clearing out the temporary folder just like you told Paula to
do. No luck. The problem only occurs with Windows XP.

Do you have any suggestions on what is going on?

Thanks!

Kirk
 
C

cornedbeef007-groups

I have a Unix system running that PKZIPs files that are requested from a web
page user so they can all be sent to a user that is using my web page. I am
able to send the images to the users that are using Windows 98 but, when they
upgrade to Windows XP, they are not able to view the files. They get an
error stating that the Compressed file is either corrupted or invalid.

I FTPd the zip file that is sent to the web page user over to a Windows XP
computer and then tried to unzip the file. The file unzips perfectly. I am
able to download the file from the server computer into the Windows XP
computer via a modem and it unzips perfectly. The only method that does not
work is through a web page. The browser I use does not matter. I have tried
several and the same error comes up on the Windows XP machine.

I was wondering if Windows XP has some sort of security protection built
into it to prevent certain zip files from being stored on the system? I
right clicked on the downloaded file and selected properties and noticed that
I had the option to unblock the file. So, I unblocked the file and that did
not do any good. I got the same error.
I even tried clearing out the temporary folder just like you told Paula to
do. No luck. The problem only occurs with Windows XP.

Do you have any suggestions on what is going on?

Thanks!

Kirk

Check your webserver that the .htaccess file has the correct mime type
for the zip file set.
Some browsers (incorrectly) parse the file name to discover the file
type and "accidentally" find that your zip file is indeed a zip file
(and therefore binary), while other browsers correctly read the
mimetype from the http header (set by .htaccess) and download the zip
file as ascii and destroy the contents.

Good luck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top