Unzip'ing a split zipped file isn't working--.

Trying to split file using zip. I've used the -s to split the file (which worked fine).  But unzip will not put the file back together. Why?

Trying to split file using zip. I've used the -s to split the file (which worked fine).  But unzip will not put the file back together. Why?

Similar Messages

  • Command for Unzipping a password protected zip file in Solaris

    Hi,
    I got a requirement where I need unzip a password protected zip file using java in Solaris.I tried with
    unzip -P but it is not working in India and Australia (may be I need to download some patch). Can any one help me to find out the solution.
    Thanks
    Naresh

    Hi peterchun,
    Thanks for your reply.
    I was trying with correct password only but my Solaris is not able to recognize unzip -P command. Can you please let me know whether I need to install any patch on Solaris (my Solaris version is 9) for this command.
    Basic requirement: password protected zip files comes to our application and those need to be unzipped to one particular location. As we are using JAVA/J2EE in our application, Can you please suggest any UNIX command (with example) for this requirement will be great.
    Thanks,
    Naresh

  • Has anybody gotten an error when trying to unzip the Encore Content zips file? How did you fix?

    Has anybody gotten an error when trying to unzip the Encore Content zips file? How did you fix?

    You may have a corrupt download... did you download again?

  • How to create a split zip file?

    Hi,
    Does anybody know how to create a split zip file using only Java?
    Lets say I have a file that compressed has a size of 10MB and I need to split it into small files of 1MB each... and then be able to open and uncompress it using winzip or any other compressing tool.
    I know how to create a zip file using java.util.zip but I cannot split it...
    Thanks,
    Ignacio

    IgnacioKriche wrote:
    Thanks for the philosophical advice...
    Can anyone help me? Does anyone know if Java API java.util.zip can split a zip file?I'm 99.9 % sure that there is nothing in the Java ZIP APIs to do this but I'm 100% sure I can't be certain.

  • Why blocking sites using Hosts file isn't working?

    Hello 
    I need to block a few websites on my home computer. Did a quick search and found out I had to work with the hosts files. So opened up Notepad, ran it as Admin and then opened Hosts and at the bottom added ' 127.0.0.1 facebook.com' then saved the file. But
    facebook is still opening when I go to the page. 
    can someone tell me why  using the Hosts file isn't working?
    I did read somewhere that it might have something to do with security features on my system. FYI, I m using a trial version of Norton Anti Virus and I am running a Windows 7 machine. 
    Thanks. Any help would be appreciated. 

    Are you sure your entry was in fact saved to the hosts file?  The hosts file on my computer blocks unwanted sites.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Yes
    This is a copy paste of CMD.exe. It shows what's in the host files. 
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Users\mehdi>cd C:\windows\system32\drivers\etc
    C:\Windows\System32\drivers\etc>dir \a-d
     Volume in drive C is Gateway
     Volume Serial Number is B291-A8C6
     Directory of C:\
    File Not Found
    C:\Windows\System32\drivers\etc>dir /a-d
     Volume in drive C is Gateway
     Volume Serial Number is B291-A8C6
     Directory of C:\Windows\System32\drivers\etc
    10/23/2010  01:06 PM               846 hosts
    06/10/2009  02:00 PM             3,683 lmhosts.sam
    06/10/2009  02:00 PM               407 networks
    06/10/2009  02:00 PM             1,358 protocol
    06/10/2009  02:00 PM            17,463 services
                   5 File(s)         23,757 bytes
                   0 Dir(s)  936,919,461,888 bytes free
    C:\Windows\System32\drivers\etc>type hosts
    # Copyright (c) 1993-2009 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    # localhost name resolution is handled within DNS itself.
    #       127.0.0.1       localhost
    #       ::1             localhost
    127.0.0.1 facebook.com
    C:\Windows\System32\drivers\etc>

  • Compressing files isn't working for me

    I have a 46mb movie file. Too big to attach to my email. I compressed it in Finder, and it showed me a progress bar grinding away, and then displayed my file with a .zip extension. However, the zipped file is the same size as the original.
    What should I be doing to get this file shrunk down to a smaller size?
    Thanks in advance.

    What should I be doing to get this file shrunk down to a smaller size?
    Re-encode it using a greater compression settings.
    Videos are already compressed, so zipping them has no effect.

  • .swf file isn't working in a wrapper that was created in Director::

    I'm working with a client that uses an in house "wrapper" that houses their training courses and has some back end reporting built into it.  The wrapper basically is the shell that consists of the navigation so users can get through the different files and courses that are housed within the wrapper.  It's a jerry.rigged lms.  I create courses for this client using captivate 4.0 and publish out to .swf files.  All my files have worked for them.  However,  I have created a new type of interaction for them and it's not working for them once the bring it into the director wrapper.  It's a screen that has 6 clickable areas on it and when the learner clicks, they should get a .pdf document that opens in a new window.  What's happening is the screen shows up, but the documents aren't pulling up when they click on the links.
    FYI--the interaction works perfectly until it is loaded into the wrapper.
    Any thoughts?
    Thank you!

    Director mx2004 10.1
    You need 10.1.1
    This quote is from the download page:
    <quote>
    Download the appropriate developer update file based on your platform and language of use so you can drag-install the necessary files to update both Director MX 2004 and your Shockwave Player to version 10.1.1. This latest update contains fixes for a number of known issues in addition to providing support for Flash 8 SWF files.
    </quote>

  • Exporting using share to file isn't working in my iMovie.

    When I use Share > File to export my movie I get the notification saying it's successful. But when I go and look in the folder I saved the movie to it's not there. How do I fix this problem and actually get the iMovie to export my project to a regular folder?

    Reboot.
    try copy & pasting of some @
    try a different email  client see app store
    use a web browser to access the email on a server
    re-boot ipad.
    Press and hold the Sleep/Wake button until a red slider appears, then drag the slider. Then press and hold the Sleep/Wake button until the Apple logo appears.  page 128 iPad user manual.
    more details on re-booting:
    http://ipad.about.com/od/iPad_Guide/ss/How-To-Reboot-Your-iPad-Power-Off.htm

  • [Solved] Overriding systemd Unit Files Isn't Working

    I'm trying to set up some custom dependencies for various services, some of which are supported packages, some are custom packages I've developed. I am running into problems following the procedure described here - specifically, service files in /etc/systemd/system are ignored, and the only way to override them is to edit the files in /usr/lib/systemd/system. I have verified this issue on both a VPS instance and my desktop. Both systems were originally built well before systemd and have been converted to pure systemd systems. Does anyone else see these issues, or know of any reason this would be happening and/or how to resolve it?
    Steps to reproduce. This example uses httpd and mysql, but I've tested it with several other services, always with the same results:
    Enable the service unit and create a new override:
    systemctl enable httpd.service
    rm /etc/systemd/system/multi-user.target.wants/httpd.service
    cp /usr/lib/systemd/system/httpd.service /etc/systemd/system/multi-user.target.wants/httpd.service
    Edit /etc/systemd/system/multi-user.target.wants/httpd.service, adding a line 'Wants=mysqld.service' to the [Unit] section.
    Make systemd changes effective, and verify them. The first command results in an error that says "Failed to issue method call: Invalid argument". The final command will show an empty list  ("Wants="), when it should list mysqld. Running systemd-delta also shows no override.
    systemctl reenable httpd
    systemctl daemon-reload
    systemctl show -p "Wants" httpd.service
    Change the replacement unit file to .include the packaged unit file:
    cat > /etc/systemd/system/multi-user.target.wants/httpd.service << __EOF
    .include /usr/lib/systemd/system/httpd.service
    [Unit]
    Wants=mysqld.service
    __EOF
    Repeat step #3, with the same results
    Reenable the package's unit:
    rm /etc/systemd/system/multi-user.target.wants/httpd.service
    systemctl enable httpd.service
    Edit the original unit file in /usr/lib/systemd/system/httpd.service, adding the 'Wants=myslqd.service' to the Unit section
    Repeat step 3
    Result is the correct and expected one this time ("Wants=myslqd.service")
    Last edited by dwheeler (2012-11-14 19:53:10)

    Well...
    I'm still having problems with .service custom files!
    I want to customize the ExecStart from original cronie.service file, like this:
    # cat /etc/systemd/system/cronie.service                                                                                         
    .include /usr/lib/systemd/system/cronie.service                                                                                               
    [Service]                                                                                                                                     
    ExecStart=/usr/sbin/crond -n -s -m off
    ==============================
    # systemctl restart cronie.service                                                       
    Failed to issue method call: Unit cronie.service failed to load: Invalid argument. See system logs and 'systemctl status cronie.service' for details.
    ==============================
    # systemd-delta                                                                                             
    [OVERRIDDEN] /etc/systemd/system/cronie.service → /usr/lib/systemd/system/cronie.service
    --- /usr/lib/systemd/system/cronie.service      2012-11-22 20:04:00.000000000 -0200
    +++ /etc/systemd/system/cronie.service  2012-11-27 16:09:49.944085437 -0200
    @@ -1,10 +1,3 @@
    -[Unit]
    -Description=Periodic Command Scheduler
    +.include /usr/lib/systemd/system/cronie.service
    [Service]
    -ExecStart=/usr/sbin/crond -n
    -ExecReload=/bin/kill -HUP $MAINPID
    -Restart=always
    -[Install]
    -WantedBy=multi-user.target
    +ExecStart=/usr/sbin/crond -n -s -m off
    ==============================
    # systemctl status cronie.service
    cronie.service - Periodic Command Scheduler                                                                                                   
              Loaded: error (Reason: Invalid argument)
              Active: inactive (dead)
              CGroup: name=systemd:/system/cronie.service
    Nov 27 13:52:59 xpto systemd[1]: Starting Periodic Command Scheduler...
    Nov 27 13:52:59 xpto systemd[1]: Started Periodic Command Scheduler.
    Nov 27 13:52:59 xpto /usr/sbin/crond[309]: (CRON) INFO (running with inotify support)
    Nov 27 14:01:01 xpto /usr/sbin/crond[8216]: pam_unix(crond:session): session opened for user root by (uid=0)
    Nov 27 14:01:01 xpto /USR/SBIN/CROND[8217]: (root) CMD (run-parts /etc/cron.hourly)
    ==============================
    What am I doing wrong?
    Thanks in advance.

  • After upgrading audio on video files isn't working

    After "Upgrading" to 6.0.2.23 the audio on video files is screwed up. The video image is fine but it sounds like a CD player that's stuck. Audio only files and streaming audio files play fine. Any ideas?
    Dell Workstation   Windows 2000  

    Solved!
    codecs were missing...should have thought about it!
    Jsut install the perian app for quicktime....fixed. 

  • I'm having trouble installing firefox 5 on my laptop. The installation file isn't working!!

    every time run the installation file it starts extracting and after that the program exits without installing firefox.

    Please send me an update when this is fixed! I would like to use the browser as I'm fed up with IE, but I can't even FIND the files after they "extract". I'm a VERY good 'end user', and can usually find just about anything, but I'm at a loss.
    Thanks for your PROMPT attention!
    Olaina aka "blogfoxy"

  • Open file isn't working

    I'm trying to enter a behavior to a button, to open a
    documen't (PDF).
    It seems that I'm doing something wrong

    Jima_dream wrote:
    > Thanks a lot. How can i see if i installed correctly.
    > I received an error message.
    Did you receive the error message when you where installing
    the xtra, when
    starting Director, or when using a function from the xtra?
    What was the error?
    http://groups.google.com/group/macromedia.director.lingo/browse_thread/thread/f988d68ec44d b73/fc503d6532d5cdb4?lnk=st&q=buddyapierror+group%3Amacromedia.director.*+author%3AAndrew+ author%3AMorton&rnum=1&hl=en#fc503d6532d5cdb4
    Andrew

  • Sent mail file isn't working

    When I check my send mail folder I receive the following message:
    The message from...... concerning..... has not been downloaded from the server. You need to take this account online in order to download it.
    Last week everything was working fine now suddenly this message. Can someone please help me fix this problem?

    OPEN LETTER TO THE MAIL 2.0 CODING TEAM. RSVP.
    with thanks to DAVID GIMENO GOST, for answering so many people's posts about all the mail 2.0 bugs.
    hi guys,
    i love all things apple, and i have done for twenty years.
    but with respect, your build of mail 2.0 really could be a lot better.
    moving my mail from 1.0 on an ibook g3 running os X 10.3.9, over to mail 2.0 on an intel macbook 1.83 running os X 10.4.7 has been a nightmare.
    the discussion boards of many mac sites feature countless cases of people making the move from 1.0 to 2.0, with all their e-mails disappearing.
    having spent two weeks reading the knowledge forums, and learning about emailchemy, plus all the complications which, even with that third party program, still exist in moving one's mail over from version 1.0 over to 2.0, are both massive and horrendous.
    and that's for me, who has twenty years of finding my way around mac bugs.
    but this one is the most difficult i've ever seen, as well as being one of the most widespread problems in a FULL VERSION RELEASE of an apple program, which apple has done nothing to resolve during the six months in which this problem has been widespread in the mac community worldwide.
    so thank god for DAVID GIMENO GOST !
    i'm amazed that apple still hasn't come up with a patch for moving mail from 1.0 to 2.0.
    even now, while i've finally got all my mail back today, 95% is showing as unread, due to the last obstacles in the process, which i can no longer face solving.
    i've also lost hundreds of red mail flags during the transfer :o(.
    PLEASE PLEASE PLEASE, guys:
    we shouldn't need to be buying third party software to move our e-mails from apple mail 1.0 up to apple mail 2.0, and even then be faced by massive hurdles to overcome, which take weeks for someone who at least has SOME idea of what he's doing.
    i pity all the people who read the numerous forum posts about how difficult it is to transfer their mail from 1.0 to 2.0, and simply give up on the spot, and have to start their e-mail history TODAY, unable to access their previous e-mail again - potentially now for ever.
    because the ironic joke is that we can't even have an access copy of mail 1.0 on our macs to read our old e-mails, unless we hack that program out of the 10.3 cd installation set, which the gurus on your own web site recommend us NOT to do !
    so what are we supposed to do, to access our old e-mail, which we can't open, even though YES, it is in our mail folder, and YES, we did full rebuilds of every mail folder, and YES, we trashed our mail preferences first.
    e-mail is now at the very center of the average mac user's digital life.
    a user's most important program should not require countless hours scrolling through the astonishing number of problems within mail 2.0, which the apple.com discussion boards evidence, with new problems being added every day.
    please sort this out, and build a patch, for the sanity of the many people who love apple, but who are unable to access any of their old e-mails.
    because i wouldn't wish the last fortnight on anyone else.
    RSVP, APPLE.
    with best wishes to everyone on the infinity loop,
    michael thorne
    london, england
    [email protected]
    ps: if you're a mac user who has been affected by the mail 2.0 disappearing bug, please post a reply to this message, and send me an e-mail to: [email protected], so that we can draw apple's increasing attention to it. thanks.
    MacBook1. 1.83 GHz. 512 MB.   Mac OS X (10.4.7)  

  • Problem in Unzipping the zip file

    Hi
    I have created a program to unzip the zip files in the folder named after the zip file
    it is working well well when u try to zip zip files put in a directory
    i.e u create a folder name contents and put files into that and then zip it
    but when u directly create a zip file , without putting in a folder
    it creates the folder and zip the files outside the folder
    Another problem is that with the path
    for e.g. suppose the zip file name is contents and path should show
    contents/filename.txt but there are some other files whose path shows
    res/file.txt. In this case it creates a folder of res and put it outside the
    folder with the name of zip file
    I have pasted my code :
    //Unzip the zip files to the folder with their name
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.FilenameFilter;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Enumeration;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipFile;
    // Getting the path to find the type of files
    public class zipper implements FilenameFilter{
              String ext;
              public zipper(String ext)
                   this.ext="." + ext;
              public boolean accept(File dir,String name)
                   return name.endsWith(ext);
    public static void main(String args[]) throws IOException
              try
                        String dir = "D:/";
                        File f2 = new File(dir);
                        FilenameFilter fn= new zipper("zip");
                        String ss[]=f2.list(fn);
                   for ( int j = 0; j < ss.length; j++)
                        System.out.println(" Extracting ...." + ss[j]) ;
                        String zipFile = dir + ss[j];
                        ZipFile zf = new ZipFile(zipFile);
                        Enumeration entries = zf.entries();
                        String directoryName = zf.getName();
                        directoryName = directoryName.substring(0, (directoryName.indexOf(":" + File.separator) + 2));
                             String folderName = zf.getName();
                             folderName = folderName.substring(0, folderName.lastIndexOf("."));
                             File file1 = new File(folderName);
                             //File file1 = new File(entries.getName());
                             file1.mkdir();
                   while (entries.hasMoreElements())
                             ZipEntry ze = (ZipEntry) entries.nextElement();
                             String path = directoryName + ze.getName() ;
                             String path1 = folderName + ze.getName();
                             //System.out.println(" : " + path);
                             if (ze.getName().endsWith("/"))
                                       File file = new File(path);
                                       file.mkdir();
                                       continue;
                                       //break;
                        BufferedReader bReader = new BufferedReader(new InputStreamReader(zf.getInputStream(ze)));
         StringBuffer fileBuffer = new StringBuffer(" ");
         String line ;
                        while ((line = bReader.readLine()) != null)
                                  fileBuffer.append(line);
                                  fileBuffer.append("\r\n");
                                  //line = line + "\r\n";
                                  //byte[] b = new byte[line.length()];
                                  //b =line.getBytes();
                                  //out.write();
                        String fileData = fileBuffer.toString();
         File f1 = new File(path);
                        f1.createNewFile();
                        //FileOutputStream out = new FileOutputStream(folderName + "/" + ze.getName());
                        FileOutputStream out = new FileOutputStream(path);
                        long size = ze.getSize();
                        byte[] data1 = new byte[fileData.length()];
                        for (int i = 0; i < fileData.length(); i++)
                                  data1[i] = (byte) fileData.charAt(i);
         out.write(data1);
         out.close();
                        bReader.close();                         
                   } catch (Exception e)
                             e.printStackTrace();
    Thanks in Advance
    Avinash

    String path = directoryName + ze.getName();
    String path1 = folderName + File.separator+ ze.getName();
    File f1 = new File(path); // pass path1 instead of path
    f1.createNewFile();
    FileOutputStream out = new FileOutputStream(path); // pass path1 instead of path

  • Zip file exxtracting error of these two zip files

    Hi
    i download both zip files. when i click on these zip files, i receive a messeage that "NO ZIP FILE, BAD ZIP FILE OR PART OF A SPANNED/SPLIT ZIP FILE". When i try to extract it again show me error . Please guide me. when i download it , it download very smothly.
    Thanks
    Atiq

    please provide exact filesizes when you report such installation/unzip issues, also, you can compare the md5sum with the one posted on the website.
    sizes / name / md5sum:
    2055432139 RHEL3-DVD1-Oracle-v1.4.zip c571eec50edfd8c032e86cfacc7976cc
    812339260 RHEL3-DVD2-Linux-v1.4.zip 756444bc87871ed52eee9baeb1880390
    for md5sum on windows you can use: http://www.md5summer.com/
    on linux just type md5sum <filename>
    99.99% it's the download, based on the size/md5sum you'll know which zip you'll need to redownload.
    enjoy.

Maybe you are looking for

  • Short commnds for page up and down

    Hi, very basic question but in a pc keyboard you have the Home button to press and it automatically goes to the top of the page, safari or document, does anyone know this or something similar on the mac keyboard?

  • How to use Payload as input to a PDF document

    Hi, I am reading the payload using function module SXMB_GET_MESSAGE_PAYLOAD and I want to use the Payload to fill my ADOBE form.  I thought that it would be sufficient to pass to the pdf the payload but my PDF does not get populated and no error is r

  • Customizing JList Cell Renderer

    Hi all, I got a problem with JList not rendering properly in my program. basically I create a customized renderer by extending JPanel and implementing ListCellRenderer. but somehow i cannot get the tooltiptext from the JLabel inside my JPanel (the re

  • Refresh Rate in X Windows (SOLVED)

    I set up an xorg.conf and it recognizes the attached monitor, but it displays with a refresh rate of 60.  I would like the refresh rate of 76.  In the radeon driver's output, it states that it recognizes the monitor can handle 1280x1024 at 76.  Does

  • Sharepoint get URL of directory one level up

    [%Current Site URL%] helps pull the current URL of the page. For example: https://fm.site.com/sites/IT/ITProjectTemplate/Lists/Risks/AllRisks.aspx But how do I pull the URL of the folder one level up. For example: https://fm.site.com/sites/IT/ITProje