Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Downloading zip files

Downloading zip files

Scheduled Pinned Locked Moved The Lounge
question
22 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Ray170

    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

    I Offline
    I Offline
    ied
    wrote on last edited by
    #5

    I occasionally see this if I right-click-save a zipfile without logging in first. Try renaming the file with an ".txt" extension. Open in Notebook and see what you have... -- Ian

    1 Reply Last reply
    0
    • R Ray170

      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

      A Offline
      A Offline
      Anthony Mushrow
      wrote on last edited by
      #6

      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

      L V 2 Replies Last reply
      0
      • R Ray170

        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

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #7

        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

        B 1 Reply Last reply
        0
        • A Anthony Mushrow

          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

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #8

          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...

          1 Reply Last reply
          0
          • A Anthony Mushrow

            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

            V Offline
            V Offline
            Vasudevan Deepak Kumar
            wrote on last edited by
            #9

            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

            1 Reply Last reply
            0
            • V Vasudevan Deepak Kumar

              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

              B Offline
              B Offline
              blackjack2150
              wrote on last edited by
              #10

              Vasudevan Deepak Kumar wrote:

              Any specific article URL so that others can download and verify the same?

              How come nobody thought of that earlier? :))

              A 1 Reply Last reply
              0
              • R Ray170

                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

                R Offline
                R Offline
                Ray170
                wrote on last edited by
                #11

                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

                R S S C 4 Replies Last reply
                0
                • B blackjack2150

                  Vasudevan Deepak Kumar wrote:

                  Any specific article URL so that others can download and verify the same?

                  How come nobody thought of that earlier? :))

                  A Offline
                  A Offline
                  Anthony Mushrow
                  wrote on last edited by
                  #12

                  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

                  1 Reply Last reply
                  0
                  • R Ray170

                    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

                    R Offline
                    R Offline
                    Rainer Mangold
                    wrote on last edited by
                    #13

                    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

                    1 Reply Last reply
                    0
                    • R Ray170

                      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

                      S Offline
                      S Offline
                      Steve Hansen
                      wrote on last edited by
                      #14

                      Try getting WinRAR and see if you can open the files.

                      R 2 Replies Last reply
                      0
                      • S Steve Hansen

                        Try getting WinRAR and see if you can open the files.

                        R Offline
                        R Offline
                        Ray170
                        wrote on last edited by
                        #15

                        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>

                        S C 2 Replies Last reply
                        0
                        • J Jonathan Darka

                          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]

                          V Offline
                          V Offline
                          Vasudevan Deepak Kumar
                          wrote on last edited by
                          #16

                          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

                          1 Reply Last reply
                          0
                          • R Ray170

                            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>

                            S Offline
                            S Offline
                            Steve Hansen
                            wrote on last edited by
                            #17

                            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...

                            1 Reply Last reply
                            0
                            • S Steve Hansen

                              Try getting WinRAR and see if you can open the files.

                              R Offline
                              R Offline
                              Ray170
                              wrote on last edited by
                              #18

                              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

                              S 1 Reply Last reply
                              0
                              • R Ray170

                                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

                                S Offline
                                S Offline
                                stevepqr
                                wrote on last edited by
                                #19

                                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...

                                1 Reply Last reply
                                0
                                • R Ray170

                                  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

                                  S Offline
                                  S Offline
                                  Steve Hansen
                                  wrote on last edited by
                                  #20

                                  Yup, that's what I thought, it wasn't using your CodeProject cookies so you were downloading the login page :D

                                  1 Reply Last reply
                                  0
                                  • R Ray170

                                    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

                                    C Offline
                                    C Offline
                                    Chris Maunder
                                    wrote on last edited by
                                    #21

                                    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

                                    1 Reply Last reply
                                    0
                                    • R Ray170

                                      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>

                                      C Offline
                                      C Offline
                                      Chris Maunder
                                      wrote on last edited by
                                      #22

                                      Are you using a download manager? That could be the cause.

                                      cheers, Chris Maunder

                                      CodeProject.com : C++ MVP

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups