Jump to content
Ketarin forum

Ketarin download appears to be corrupt


TLE
 Share

Recommended Posts

I can download the file ok, but I get an error when I unzip the file both at work and at home.

 

Winzip Error:

error[C:\Documents and Settings/username/My Documents/Ketarin-1.1.0.331.zip]: missing 175 bytes in zip file.

 

7-ZIP also errors.

 

Thanks

 

TLE.

Link to comment
Share on other sites

Still timing out for me. So Annoying because Ketarin is such a great app, its just all the file hippo downloads are timming out and have been for a long time.

Same for me... Only if I enable checking for beta versions, the Filehippo downloads don't time out... :(

Link to comment
Share on other sites

Hi,

You're discussing different subjects...

 

- Regarding Ketarin download i have just downloaded, extracted without error n calculated md5 wich is the same of my previous 1.1.0.331 build.

 

- Regarding Fillehippo i also did a 2 FULL updates (yesterday, today) without issues

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

Just more proof of the need to dump IE... one of the first things I do when building/customizing a client's PC is to install Firefox and Google Chrome portable with updater. ;) The ONLY thing I do with IE is forced MS update if I have a choice.

Link to comment
Share on other sites

  • 2 weeks later...

I don't want to fan the flames of a browser war - there are plenty of reasons to avoid each vendors browser - but the fact is, IE has the majority of the Internet market, so any website not designed to work correctly within IE is a waste of webspace.

 

The problem is most likely related to how the redirects are occuring. There doesn't appear to be a header indicating the filename, and this is what IE uses (and the HTTP standard requires, by the way) for indicating file names for download.

 

Browsers are free to interpret the correct saveas name from any resource thru the URLs provided - IE uses the original filename, Firefox uses the redirect path. The only "right" way is to include the content-disposition header to forcefully tell the browser what the "correct" filename is.

 

This should be a header like so:

 

Content-Disposition: attachment; filename=Ketarin-1.1.2.337.zip; size=748292;

 

This tells the browser the file size (for progress bar support), the file name (to indicate what the filename should be in a saveas dialog), and "attachment" which effectively means "show a saveas dialog", as well as other optional information such as dates. It's also important to know that the Content-Type header is used to indicate the *type* of file, but is not firmly tied to a file extension under Windows (or any other OS). More about Content-Disposition here:

http://www.apps.ietf.org/rfc/rfc2183.html

Link to comment
Share on other sites

have you tried using .htaccess to define mime-type?

 

if you haven't it might be worth trying, i have no idea if it will work though, just an idea

 

here's an example article,

 

http://www.besthostratings.com/articles/mime-types-htaccess.html

 

the article links to mime-types other than those used in the article as well

 

cut and paste from the article

 

There is one more useful feature of the AddType directive. Most of you most probably know that Internet Explorer opens MS Word, Excell, PDF and some other files inside a browser window. To force the browser to download the file you can use AddType to change the document type:

 

AddType  application/octet-stream  .doc .xls .pdf

Edited by Sphinx
Link to comment
Share on other sites

Hi, Flo!

 

I see headers for content-length and content-type, but not content-disposition, which is the one that really matters if you're using alternate streams:

 

C:\Tools>gethie http://ketarin.canneverbe.com/download
GET http://ketarin.org/downloads/Ketarin/Ketarin-1.1.2.337.zip?noredirect
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322
; .NET CLR 2.0.50727)

GET http://ketarin.canneverbe.com/download --> 302 Found
GET http://ketarin.canneverbe.com/downloads/Ketarin/Ketarin-1.1.2.337.zip --> 30
2 Found
GET http://ketarin.org/downloads/Ketarin/Ketarin-1.1.2.337.zip?noredirect --> 20
0 OK
Connection: close
Date: Wed, 11 Aug 2010 00:17:58 GMT
Accept-Ranges: bytes
ETag: "179e0da-b6b04-48b058139f880"
Server: Apache/2.2.16 (Linux/SUSE)
Content-Length: 748292
Content-Type: application/zip
Last-Modified: Sat, 10 Jul 2010 09:54:26 GMT
Client-Date: Wed, 11 Aug 2010 00:17:57 GMT
Client-Peer: 78.46.64.174:80
Client-Response-Num: 1

Link to comment
Share on other sites

It's just the Perl "get" package, with a few added tags to add IE-like headers to the Request.

 

All browsers, IE included, but also Firefox, Perl, Opera and others - only respect headers from the most recent transaction and the only thing they preserve from any previous request (lacking conflicting headers) is the original URL. That is, if the headers are not sent with the most current response (such as, with a previous 301 response), then they are discarded.

 

If you can control it, you should add the content-disposition header in the final request (it can be added directly by .htaccess).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.