Cannot unzip .zip even with Archive Utility

Hi,
I have problem unzipping a .zip file. When I use the Archive Utility to unzip it, it yields a file with the same name with .zip.cpgz on its end. When I subsequently make another trial - to unzip this new file, it yields the very same file only with .zip.cpgz 2 in the end of its name. A repeated process (now with any of these files, either original, first .cpgz or second .cpgz 2) yields a file with appropriate .cpgz #. Repeating the process further seemed to me futile. I hope writing here would in the long run yield an unzipped original .zip file.
Many thanks for your help,
pwyll.

You probably won't see this, but did you ever zip a file during this time and then unzip it with another program and find data missing? The same thing happened to me where I zipped an assignment with archive utility, then when I tried to unzip it it would just make copy after copy. Once it was unzipped by my professior there was missing data. THen when I downloaded another program to unzip the original zipped file, that data was missing, too! I tried it again and zipping the file kep deleting part of my file!

Similar Messages

  • Unable to open zip files with Archive Utility or StuffIt

    Hello,
    I am running Mac OS X 10.7.3.  I have been attempting to download and install the Eclipse Java IDE from both www.eclipse.org and from a Stanford course website.  In the first case the file is offered as a tar.gz and in the second case it is a .zip.  When I attempt to open either file using Archive Utility or StuffIt Expander I get a never ending pinwheel.  I am forced to restart to get Finder working porperly again and quiet the fan down.  My wife's computer, also running Mac OS X 10.7.3, can extract the files without a problem.

    Jsanders is basiclly a BlackBerry Superhero, stick around for awhile, Don't be a stranger AntMcl, you can learn a lot around here I promise.
    If someone helped you give them kudos. Research all info!

  • Cannot extract Zip file with Winzip after zipping with java.util.zip

    Hi all,
    I write a class for zip and unzip the text files together which can be zip and unzip successfully with Java platform. However, I cannot extract the zip file with Winzip or even WinRAR after zipping with Java platform.
    Please help to comment, thanks~
    Below is the code:
    =====================================================================
    package myapp.util;
    import java.io.* ;
    import java.util.TreeMap ;
    import java.util.zip.* ;
    import myapp.exception.UserException ;
    public class CompressionUtil {
      public CompressionUtil() {
        super() ;
      public void createZip(String zipName, String fileName)
          throws ZipException, FileNotFoundException, IOException, UserException {
        FileOutputStream fos = null ;
        BufferedOutputStream bos = null ;
        ZipOutputStream zos = null ;
        File file = null ;
        try {
          file = new File(zipName) ; //new zip file
          if (file.isDirectory()) //check if it is a directory
         throw new UserException("Invalid zip file ["+zipName+"]") ;
          if (file.exists() && !file.canWrite()) //check if it is readonly
         throw new UserException("Zip file is ReadOnly ["+zipName+"]") ;
          if (file.exists()) //overwrite the existing file
         file.delete();
          file.createNewFile();
          //instantiate the ZipOutputStream
          fos = new FileOutputStream(file) ;
          bos = new BufferedOutputStream(fos) ;
          zos = new ZipOutputStream(bos) ;
          this.writeZipFileEntry(zos, fileName); //call to write the file into the zip
          zos.finish() ;
        catch (ZipException ze) {
          throw ze ;
        catch (FileNotFoundException fnfe) {
          throw fnfe ;
        catch (IOException ioe) {
          throw ioe ;
        catch (UserException ue) {
          throw ue ;
        finally {
          //close all the stream and file
          if (fos != null)
         fos.close() ;
          if (bos != null)
         bos.close();
          if (zos != null)
         zos.close();
          if (file != null)
         file = null ;
        }//end of try-catch-finally
      private void writeZipFileEntry(ZipOutputStream zos, String fileName)
          throws ZipException, FileNotFoundException, IOException, UserException {
        BufferedInputStream bis = null ;
        File file = null ;
        ZipEntry zentry = null ;
        byte[] bArray = null ;
        try {
          file = new File(fileName) ; //instantiate the file
          if (!file.exists()) //check if the file is not exist
         throw new UserException("No such file ["+fileName+"]") ;
          if (file.isDirectory()) //check if the file is a directory
         throw new UserException("Invalid file ["+fileName+"]") ;
          //instantiate the BufferedInputStream
          bis = new BufferedInputStream(new FileInputStream(file)) ;
          //Get the content of the file and put into the byte[]
          int size = (int) file.length();
          if (size == -1)
         throw new UserException("Cannot determine the file size [" +fileName + "]");
          bArray = new byte[(int) size];
          int rb = 0;
          int chunk = 0;
          while (((int) size - rb) > 0) {
         chunk = bis.read(bArray, rb, (int) size - rb);
         if (chunk == -1)
           break;
         rb += chunk;
          }//end of while (((int)size - rb) > 0)
          //instantiate the CRC32
          CRC32 crc = new CRC32() ;
          crc.update(bArray, 0, size);
          //instantiate the ZipEntry
          zentry = new ZipEntry(fileName) ;
          zentry.setMethod(ZipEntry.STORED) ;
          zentry.setSize(size);
          zentry.setCrc(crc.getValue());
          //write all the info to the ZipOutputStream
          zos.putNextEntry(zentry);
          zos.write(bArray, 0, size);
          zos.closeEntry();
        catch (ZipException ze) {
          throw ze ;
        catch (FileNotFoundException fnfe) {
          throw fnfe ;
        catch (IOException ioe) {
          throw ioe ;
        catch (UserException ue) {
          throw ue ;
        finally {
          //close all the stream and file
          if (bis != null)
         bis.close();
          if (file != null)
         file = null ;
        }//end of try-catch-finally
    }

    Tried~
    The problem is still here~ >___<
    Anyway, thanks for information sharing~
    The message is:
    Cannot open file: it does not appear to be a valid archive.
    If you downloaded this file, try downloading the file again.
    The problem may be here:
    if (fos != null)
    fos.close() ;
    if (bos != null)
    bos.close();
    if (zos != null)
    zos.close();
    if (file != null)
    file = null ;
    The fos is closed before bos so the last buffer is not
    saved.
    zos.close() is enough.

  • Can't get rid of Windows on my Mac even with disk utility

    I noticed this disk0r3 or something like that, and I know this is Windows.
    I have a bit of a bug issuea nd the windows wasn't done very well. I wanted to erease it with disk utility, but it said it couldn't. What should I do?
    I've tried the zero, 15, and 35 or whatever they offered.

    Did you use Apple's Boot Camp utility to create a hard drive partition for Windows?
    If so, do you want to erase the partition created for Windows or eliminate the 2nd partition and go back to a single hard drive partition?
    If the latter, you have no choice but to reformat the hard drive first which erases the hard drive and then re-install OS X and all software.

  • HT5022 My Powerbook Pro (Lion 10.7) will no longer recognize my two airports, even with Airport Utility 5.6..  Suggestions?

    Everything was working fine until I moved.  Now suddenly I can't get my machine to recognize either airport.  I've reset the airport HW, restarted my machine, etc.  I can connect to time machine but not the Airports.  Any ideas?

    This is actually normal. Bear with me.
    When you "hard reset" an AirPort, it creates an open network with the name "Apple network xxxxxx" that your computer must join to configure the AirPort. When you are finished configuing your new wireless network and subsequently restart the AirPort, the original open network "Apple network xxxxxx" that you joined to configure the AirPort ceases to exist. AirPort Utility then complains that it can no longer join that network or it just sits there waiting forever.
    After you create your new wireless AirPort network, your computer must join it. This may or may not happen automatically, depending on your computer's settings. Look for the network you just created and join it.
    If your computer cannot find the network you just created, then something else went wrong. This can be due to an error in wireless security, a firewall problem with your computer, wireless interference, or a number of other causes. It is often suggested that users configure an AirPort base station while connected to it with an Ethernet cable to avoid confusion.
    Sometimes it's easiest to start simple - give your AirPort network a short and simple name, no security, and no oddball settings like hiding its SSID. Make sure all your devices can join that network. Then, configure it with the wireless security appropriate for your devices, and go from there.

  • Help: Cannot startup, not even with system discs

    My MacBook (Intel, 10.4.11, no peripherals attached) cannot startup.
    If I press the power button (either without pressing any other key, or press and hold 'shift', 'command-v', or 'command-s'):
    - there is a regular startup chime
    - a blank grey screen shows
    - I hear repeating faint clicks from inside the MacBook
    - no further progress from there on (waited 10 minutes)
    If I press power button and quickly insert the Mac OS X system disc (either without pressing any other key, or press and hold 'c', or 'd'):
    - there is a regular startup chime
    - the disc spins up
    - a grey screen shows a blinking file folder with a question mark
    - no further progress from there on (waited 3 minutes)
    I have tried the following without success:
    - make sure RAM and hard drive are properly seated by taking them out and putting them in again.
    - reset SMC
    The last thing I was doing before this problem:
    - I left the MacBook while it was burning a data DVD using Toast
    - When I came back 2 hours later, the bottom part of screen shows a gear wheel spinning. I also saw a progress bar with Toast. I cannot eject the DVD or get any response by pressing any key including force quit keys.
    - I pressed the power button to force shut down.
    - I pressed the power button to start up. I held the trackpad button and the DVD ejected but did not start up from there on.
    - I cannot start up the MacBook since then.

    The HD is so messed up that it messes with normal booting.
    Your best bet other than Apple Service is to disconnect the HD ribbon cable, insert the Install disk, hold Option key down on startup, select DVD to boot from, after it boots, recoonect the ribbon cable to the HD, then "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214

  • Cannot access airport express with airport utility...

    I've been using my old Airport Express, since it has a modem, to access my dialup service , I need to change the access number but Airport Utility reports that it can't access the AE with this version...(It sees it fine)...what do I need to do to change the number?  I've tried several different older versions of AU and get the same result....

    Try the direct link.
    http://support.apple.com/downloads/DL1482/en_US/AirPortUtility56.dmg
    I have been having some issues with the apple support and discussions area with my ISP.. something seems to be not compatible.
    There is a free method .. since you need to pay for Pacifist.. there is a simpler free utility but it does the job .. unpkg
    This is my version of Tesserax's which is of course just fine as well.
    How to load 5.6 into ML.
    1. Download 5.6 for Lion.
    http://support.apple.com/kb/DL1482
    Click to open the dmg but do not attempt to install the pkg.. it won't work anyway.
    Leave the package open on the desktop so you can see the file. AirportUtility56.pkg
    2. Download and install unpkg.
    http://www.timdoug.com/unpkg/
    Run unpkg on the desktop.. If your Mac refuses to run the software, because it wasn’t downloaded from the Apple store, go to security in preferences and allow other software to work.. this is limitation of trade methinks. You can set back later if you like.
    Now drag the AirPortUtility56.pkg file over to unpkg.. and it will create a new directory of the same name on the desktop.. in finder, open the new directory, drill down.. applications, utilities .. there lo and behold is Airport utility 5.6 .. drag it to your main utilities directory or just run it from current location.
    You cannot uninstall version 6 (now 6.3 if you updated) so don't try.. and you cannot or should not run them both at the same time.. although I have had no problems when doing so.
    For screen shots see this post.
    https://discussions.apple.com/thread/4668746?tstart=0

  • Yosemite cannot boot (Freezes) even with Clean Install

    Macbook Pro 15" was normal in the normal, but I updated Samsung Kies and it told me the restart, after that I cannot boot up Yosemite 10.10.2 at all
    What I've done:
    1. I can access Target Mode with my iMac, copied my files with no problem. I used my imac to verify both MBP HDD and Bootcamp and even try repairing, it showed that there was no fault at MBP in the first place.
    2. I can enter Safe Mode, I tried updating the OSX to 10.10.3 and still does not work
    3. Bootcamp windows got bluescreen, removed it still doesn't help.
    4. I tried install a Clean Install, and still doesn't work, (Installed through SD Card)
    5. It seems now I can only do ie., continue my update, continue my new install through safe mode ONLY
    I never turned on Filevault in the first place.
    At this point I'm not so sure, if I can still access through Target Mode, hopefully it should mean that my hard disk isn't broken.
    I am out of ideas... please help
    Ps. at normal Start up from the progress bar sometimes the screen stutters and showed me a pixelated screen and then switched back to the progress bar after a minute the loading circle appears and the looping appeared overlapped and thickens

    Startup Issues - Resolve
    Startup Issues - Resolve (2)
    Startup Issues - Resolve (3)

  • HT5934 IPad 2 cannot access wifi, even with the correct password.

    My iPad 2 does not accept the password it should when trying to access the wifi access available at my employer. Once my employer removed his password protection from his wifi router, my iPad accepted the wifi. An iPhone  accepted the  same password today... It hesitated a bit longer than we expected, however, it did access the wifi router. We've tried multiple times, my employer uses Macs, and he's tried accessing his wifi with my iPad... He's even changed the name on his wifi, checked all settings, crosschecked that the password is a valid password, still, my iPad gives me an error "incorrect password ".  It only makes sense if we were using an incorrect password, but we weren't! Help!

    Hello lillybgr8,
    The following article provides a few tips that may help get your iPad working with your employer's WiFi network.
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    Cheers,
    Allen

  • Cannot open file, even with updates- help please!

    Every time I try to open/download this file, http://www.sba.gov/sites/default/files/forms/SBA%20413_0.pdf , I get this message:
    Warning: This form is not supported with the current version of Acrobat or Adobe Reader.
    Upgrade to the latest version for full support
    I have upgraded, and still no luck.
    I need to get this resolved today! Thank you

    You are either using Google Chrome with their PDF viewer or Mozilla Firefox with their PDF viewer.  This file is a LiveCycle Designer XFA document and those two viewers don't have a clue on how to render an XFA form.  Follow Bernd's advice and you should be good.

  • Cannot lock screen even with AssistiveTouch

    After restoring my iPhone 5s from backup
    1. Pressing power button to lock screen no longer works (nothing happens), but holding it down to Power Off still works.
    2. Tried enabling AssistiveTouch, but pressing Device->Lock Screen does nothing (all other AssistiveTouch functions fully work), which rules out hardware issue.
    3. Phone no longer auto-locks (screen will not turn off until battery dies).
    Currently the only solution I can think of is to Restore to factory defaults, but I'd like to avoid that if possible.
    IOS 8.2

    Have you tried restarting your device? Hold down the Home and Power buttons at the same time until the Apple appears. Once the Slide to Unlock screen redisplays see if the issue is resolved.
    Cheers,
    GB

  • Archive utility will not unzip .jars anymore?

    Is anyone else having the problem of not being able to open .jars with archive utility anymore?
    It certainly used to work, I'm quite sure of it, because I've always used Archive utility to open .jars and get access to the .classes. Any ideas on how to fix this? is this a bug or was a feature dropped without warning or am I just missing something?
    I'm not a heavy user of java, but it is kind of irritating to find that something that my computer used to do in a simple intuitive way is no longer available, or if it is it's certainly not simple or intuitive! I've checked archive utility preferences and can't find anything there. I'm really not sure how to deal with this! I've tried dealing with it through terminal, but for some reason it's not quite working and I can't crack open the .jar to find out why haha!

    Thanks! that app works great I just wish I knew what happened to Archive Utility. The thing I like best about OSX is that it comes with a great set of tools. I don't like having to go and get apps to do specific new jobs y'know?

  • Pdf file causing archive utility to throw error

    I have a couple of pdf files which cannot be compressed without an error. Supposing that the nasty file is called foo.pdf.
    . In the Finder, right click on foo.pdf
    . Select Compress "foo.pdf"
    A file called foo.pdf.zip is created but an error pops up An error occurred while compressing a file. Strangely enough, the error window has a titlebar called "Copy".
    When looking in the Console, there is always an error from mdworker listed:
    2/24/2009 10:23:37 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker[20524] zip importer countered an error (2) scanning "/Path/to/foo.pdf.zip"
    This same file also always errors out when trying to use -ditto- in a Terminal window. (See this minithread: http://discussions.apple.com/thread.jspa?threadID=1724912 )
    FWIW, attempting to open foo.pdf.zip causes the Archive Utility to throw the error
    Unable to unarchive "foo.pdf.zip" into "Wherever".
    Error 1 - Operation not permitted
    Does anyone have any idea what could be causing the problem?
    Bill

    Nothing's wrong with it except that it doesn't support encrypted .zip files.  You'll just have to use third-party software, or a Terminal command, to unzip those.

  • Archive Utility Quit Unexpectedly

    Every time I try to unzip a file using Archive Utility, it says "Archive Utility Quit Unexpectedly". No, relaunching it does not do anything. I have restarted my computer to no prevail and several things I've tried on the internet do not work. Currently using a Macbook Pro, with OSX 10.9.3.

    You need to update your OS X to v10.9.4
    Click the Apple  top left in your screen.
    From the drop down menu click Software Update.
    Restart your Mac.
    Now, control click the folder you want to compress then click:  "Compress (folder name"
    To decompress, double click the folder.
    OS X Mountain Lion: Compress and uncompress files and folders  >    Instructions work for v10.9 Mavericks as well.

  • Archive Utility error

    Hi All,
    Just got the problem with Archive Utility. Getting Error 2, no such a directory. It works great with other applications
    Any ideas?
    Thanks /xxx

    A better and safer syntax is the single command:  sudo rm -rf /var/folders/*  since if  the first line above does not succeed, or is entered in a separate terminal session, the second command will remain pointed at the top level of your home folder by default, effectively telling the computer to ERASE ALL CONTENTS of "~/"  your account's home folder.  In that event, all personal content - desktop files, downloads, documents, local email storage, music, movies, favorite bookmarks, and so on - will be immediately deleted!
    Caution is also recommended, since /var/folders  is temporary storage for a lot of applications.  At minimum quit any other open applications and be prepared to restart. 
    Naturally any command involking "sudo" will only run within an administrative account.  If you don't have an admin account, if the computer is not your personal property, if the computer returns an error when invoking "sudo" or if you simply have doubts or questions about what each element of these commands does,  well that's simply nature's way of saying "call IT." 

Maybe you are looking for

  • Purchased an app on wifi but finished downloading it on pc,cant sync it

    I just purchased angry birds on ipad but i was not able to finish downloading it in a wifi zone. So i went home to finish downloading it on my pc. I finished downloading it but I cant seem to sync it on my ipad. And the icon where I was downloading a

  • How  to split the business areas

    hi experts, i am having 500 to 600  business areas. my requirement is i want to split the g/l account, company code and amount data correspondingly. please help to solve the problem.

  • CCMS ALERT--- /SAPAPO/DELETE_LC_ANCHORS

    Dear Experts, How to resolve the CCMS alert for the /SAPAPO/DELETE_LC_ANCHORS which says as 'Not configured'. Regards, KK

  • Soap- XI- RFC Synchronous question

    This should be simple but for some reason something isn't clicking with me.  I've got a synchronous scenario.  I need to set up a message interface that will be exposed as a web service.  The sender will send the soap message to this message interfac

  • Reference document is not delivery document

    Dear All , I have created scrap sales order and done the billing. But while creating excise invoice for factory sale ( J1IIN ) it is giving an error i.e. ( Reference document of XXX is not delivery document ). Regards, Swapnil Vaidya