Error upgrading

My webserver fails to download the zip file, and I get this error:

Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

The latest.zip in the tmp/cache/latest dir is 0 bytes long. If I upload it myself it just gets reset to 0 bytes again. I don’t really want to sit here for ages uploading thousands of small files over FTP again, but I grudgingly will do so long as I can moan about it here on the forums.

For future versions it would be nice if it gave a better error message, we had the option to manually upload the zip file in case the download fails, have a better naming scheme than “latest.zip” and check that the archive is the correct size (and/or MD5) before downloading and extracting.

Thank you. I’ve added your ideas to http://dev.piwik.org/trac/ticket/936

The update problem is fixed here: http://dev.piwik.org/trac/changeset/1532