Downloading zip files
-
Just a simple question. When I download zip files from Code Project, they download ok but when I try to extract the contenet I get a box which says "Cannot open file: it does not appear to be a valid archive" Can't seem to crack this, anyone any suggestions? Ray
-
Just a simple question. When I download zip files from Code Project, they download ok but when I try to extract the contenet I get a box which says "Cannot open file: it does not appear to be a valid archive" Can't seem to crack this, anyone any suggestions? Ray
It may of course, not finished downloading properly. Since CP doesn't give out the actual filesize when downloading stuff, you just download until there is no more. If this is the case, then you can just try downloading again, and if it still doesn't work, try clearing your cache.
My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -
The Undefeated
-
Just a simple question. When I download zip files from Code Project, they download ok but when I try to extract the contenet I get a box which says "Cannot open file: it does not appear to be a valid archive" Can't seem to crack this, anyone any suggestions? Ray
Any specific article URL so that others can download and verify the same?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
It may of course, not finished downloading properly. Since CP doesn't give out the actual filesize when downloading stuff, you just download until there is no more. If this is the case, then you can just try downloading again, and if it still doesn't work, try clearing your cache.
My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -
The Undefeated
If that's true, using a good download manager fixes the problem. Or, if you already use one, make sure it doesn't mess up your downloads. I remember that sometimes when I used Internet Explorer (IE version 5 I think...) to download files, it messed up some of them, especially zip files. It hasn't happened to me lately. But then again, I use Firefox and a download manager now, so I can't tell for sure...
-
It may of course, not finished downloading properly. Since CP doesn't give out the actual filesize when downloading stuff, you just download until there is no more. If this is the case, then you can just try downloading again, and if it still doesn't work, try clearing your cache.
My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -
The Undefeated
This might be because an ASP or an ISAPI filter is required in between to stream the binary file, whose implementation does not set the content-length properly. But, I guess, they need the filter since CP Terms of Services requires downloads to go through an authentication phase for auditing and resource abuse prevention.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
Any specific article URL so that others can download and verify the same?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis LevinsonVasudevan Deepak Kumar wrote:
Any specific article URL so that others can download and verify the same?
How come nobody thought of that earlier? :))
-
Just a simple question. When I download zip files from Code Project, they download ok but when I try to extract the contenet I get a box which says "Cannot open file: it does not appear to be a valid archive" Can't seem to crack this, anyone any suggestions? Ray
Thanks for all the interest. I am using XP (SP2) and have WinZip 8.0 installed. I get the same problem whether I use WinZip or the extract tool built into XP. I have tried for some considerable time to open zip files downloaded from Code Project with always the same result (zilch). I regularly zip up files and send them to others for work with no problem. I can open and extract zip files that I make and which work sends to me ok. I haven't tried downloading and extracting files from any other URL since this hasn't arisen. The properties of the downloaded zip files are as they should be, not locked. I have 3 XP machines and they all do the same thing with Code Project files. Ray
-
Vasudevan Deepak Kumar wrote:
Any specific article URL so that others can download and verify the same?
How come nobody thought of that earlier? :))
Now that is a good point. We all assumed somethings up with the computer, or the server. And the the actual Zip file worked in the first place XD
My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -
The Undefeated
-
Thanks for all the interest. I am using XP (SP2) and have WinZip 8.0 installed. I get the same problem whether I use WinZip or the extract tool built into XP. I have tried for some considerable time to open zip files downloaded from Code Project with always the same result (zilch). I regularly zip up files and send them to others for work with no problem. I can open and extract zip files that I make and which work sends to me ok. I haven't tried downloading and extracting files from any other URL since this hasn't arisen. The properties of the downloaded zip files are as they should be, not locked. I have 3 XP machines and they all do the same thing with Code Project files. Ray
I had a similar problem some years ago. Everthing worked fine after I clear the IE-cache and rebooted my PC.
Rainer Be as simple as you can be; You will be astonished to see how uncomplicated and happy your life can become. --Paramahansa Yogananda
-
Thanks for all the interest. I am using XP (SP2) and have WinZip 8.0 installed. I get the same problem whether I use WinZip or the extract tool built into XP. I have tried for some considerable time to open zip files downloaded from Code Project with always the same result (zilch). I regularly zip up files and send them to others for work with no problem. I can open and extract zip files that I make and which work sends to me ok. I haven't tried downloading and extracting files from any other URL since this hasn't arisen. The properties of the downloaded zip files are as they should be, not locked. I have 3 XP machines and they all do the same thing with Code Project files. Ray
Try getting WinRAR and see if you can open the files.
-
Try getting WinRAR and see if you can open the files.
Got WinRAR, but get message "The archive is either unknown format or damaged". Looking at zip files that I create (with Winzip 8.0 )they start with PK.......Lw6i..+i. then a title. But files from CodeProject start \ \ \ \The Code Project - Member Logon - which doesn't seem like a zip file. What ever is going on? </x-turndown>
-
You need to update your archival software to a newer version, it cannot decompress the file as it doesn't understand the new zip format.
Jonathan Wilkes Darka[Xanya.net]
He was actually saying none of the zips are working for him. You mean to say the older version is non-compliant to the GZip specification here: http://www.ietf.org/rfc/rfc1952.txt[^]
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
Got WinRAR, but get message "The archive is either unknown format or damaged". Looking at zip files that I create (with Winzip 8.0 )they start with PK.......Lw6i..+i. then a title. But files from CodeProject start \ \ \ \The Code Project - Member Logon - which doesn't seem like a zip file. What ever is going on? </x-turndown>
Seems like you are getting HTML data instead of actual files, do you right-click on them and save as? Or just follow some link and it starts to download a .zip? I know CP show a login page when you try to download a file without being logged in...
-
Try getting WinRAR and see if you can open the files.
Cracked it. Was using Star Downloader, but deleted this so I was downloading with the Windows utility and hey presto all was well. Never thought this was the problem because Star Downloader downloads other stuff ok. Just goes to show, problems usually have a simple solution - just takes a liitle while for the penny to drop. Many thanks for your interest and suggestions Ray
-
Thanks for all the interest. I am using XP (SP2) and have WinZip 8.0 installed. I get the same problem whether I use WinZip or the extract tool built into XP. I have tried for some considerable time to open zip files downloaded from Code Project with always the same result (zilch). I regularly zip up files and send them to others for work with no problem. I can open and extract zip files that I make and which work sends to me ok. I haven't tried downloading and extracting files from any other URL since this hasn't arisen. The properties of the downloaded zip files are as they should be, not locked. I have 3 XP machines and they all do the same thing with Code Project files. Ray
When I'm at work I regularly get this situation - when I looked a little closer for some reason all the zip files that seem to be corrupt have only downloaded 80%. If you watch the download its stops at 80% (and always 80%) waits a while and then reports it has finished - no errors just a corrupt (presumably incomplete) zip file. If I try the same file at home it downloads first time every time. Server problem?
Apathy Rules - I suppose...
-
Cracked it. Was using Star Downloader, but deleted this so I was downloading with the Windows utility and hey presto all was well. Never thought this was the problem because Star Downloader downloads other stuff ok. Just goes to show, problems usually have a simple solution - just takes a liitle while for the penny to drop. Many thanks for your interest and suggestions Ray
Yup, that's what I thought, it wasn't using your CodeProject cookies so you were downloading the login page :D
-
Thanks for all the interest. I am using XP (SP2) and have WinZip 8.0 installed. I get the same problem whether I use WinZip or the extract tool built into XP. I have tried for some considerable time to open zip files downloaded from Code Project with always the same result (zilch). I regularly zip up files and send them to others for work with no problem. I can open and extract zip files that I make and which work sends to me ok. I haven't tried downloading and extracting files from any other URL since this hasn't arisen. The properties of the downloaded zip files are as they should be, not locked. I have 3 XP machines and they all do the same thing with Code Project files. Ray
If a zip is corrupt then use the "Broken Article" link at the top of each article to report it to the editors.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
Got WinRAR, but get message "The archive is either unknown format or damaged". Looking at zip files that I create (with Winzip 8.0 )they start with PK.......Lw6i..+i. then a title. But files from CodeProject start \ \ \ \The Code Project - Member Logon - which doesn't seem like a zip file. What ever is going on? </x-turndown>
Are you using a download manager? That could be the cause.
cheers, Chris Maunder
CodeProject.com : C++ MVP