About gzip format

I download 817solaris.cpio.gz file into my win98 pc then ftp to
Unix box. When I try to gunzip this file. It shows it's not in
gzip format. I even tried type bin first before ftp the whole
file then use put command. Any suggestion?

Hi, welcome to Apple Discussions.
Before you start you need a complete backup of your entire iTunes Library & media plus of course any other data you'll want on your rebuilt machine.
*Fast backup for iTunes library (Windows Only)*
Grab SyncToy 2.1, a free tool from MS. This can be used to copy your entire iTunes library (& other important data folders) onto another hard drive or network share. You can then use SyncToy periodically to synchronise or echo your library to the backup. A preview will show which files need to be updated giving you a chance to spot unexpected changes and during the run only the new or updated files will be copied saving lots of time. And if your media is all organised below the main iTunes folder then you should also be able to open the backup library on any system running the same version of iTunes.
When the time comes to reformat your PC, do a final sync, then open iTunes & deauthorize the PC, reformat & rebuild Windows, copy the backup folders back to the same location as they were previously, install iTunes and it should all work perfectly.
tt2

Similar Messages

  • Not in GZIP format error while trying to unzip the file

    I'm using GZIPInputStream in order to read data from zipped file.
    It worked perfectly from command line. I have to execute the same code from crontab and it gave me the exception:
    java.io.IOException: Not in GZIP format
    It tries to check the GZIP_MAGIC number and for some reason failed.
    The stack trace I'm getting points to GZIPInputStream constructor.
    GZIPInputStream input = new GZIPInputStream( new FileInputStream( fileName));
    Any help will be highly appreciated.
    Thanks,
    Arnold

    This may be a little late for you, but I am having the same problem. I am using an encryption package as well. I created input and output streams to wrap my encryption package. (javax.?? has something similar)
    Anyway, my algorithm goes: data -> gzip -> encrypt --------- ->decrypt -> gzip ->data
    If I used encryption without the gzip everything works fine, and if I use gzip without the encryption it works fine as well. But if I use them in conjuction, bad thing happen.
    I copied versions of the GZIPInput and output stream classes from java.util.zip and made my own so I could put in debug code. Then I saw what was happening. GZIP writes a header of 8b1f. It does this by writing a first to 1f as a byte (this is 31 in decimal) and then the 8b (this is 139 unsigned byte or -117 signed byte).
    My debug code shows that it writes 31,-117 to the stream, but reads 31,139 when I don't use encryption and 31,-117 when I do. Another strange thing about this, though, is that everywhere I have debug code, this is the only byte that prints out unsigned in my debug messages... When encryption is turned on this same debug message prints -117.
    I have no idea why this is happening. To test things some more, I changed my copy of the gzipinputstream to compare this header value with the GZIP_MAGIC number (35615) and with -29921. Now everything works perfectly. There has to be a better solution for this, but I don't know what it is yet.
    GZIP_MAGIC is 8b1f sent as two bytes 1f and then 8b, and then shifting the 8b.
    -117, using the Integer.toString(-117,16), gives a hex of -75. Using the same methodology as above, we can get -751f which is -29921.
    The header check is essentially:
    if ((int)readUByte(in) << 8) | (int)readUByte(in) != GZIP_MAGIC)
    your screwed
    So change this store the value in a variable and compare it to GZIP_MAGIC and -29921 and your problem will disappear.
    I am not sure what they were thinking. readUByte is a simple read. There is nothing unsigned about it. There is probably some casting somewhere along here that is causing the error, but nothing I am doing seem incorrect.
    Hope this helps. Actually, I hope you have solved your problem by now, but if not,... If you have any insights, I would appreciate hearing them.

  • Oracle 9.0.1 Linux Download Disk 1 Is NOT in gzip Format

    Hi,
    I tried to download twice Oracle 9.0.1 Linux on my Windows first, then tranfer to my Linux machine. All the other disks (gz files) are transfered and uncompressed into cpio files, expect Disk 1, Linux9i_Disk1.cpio.gz.
    I checked Linux9i_Disk1.cpio.gz first using WinZip on Windows, then gunzip on Linux. The problem is the same: Linux9i_Disk1.cpio.gz is not in gzip format.
    Since all the other Disks (.cpio.gz files) works fine, my suspicion is that Linux9i_Disk1.cpio.gz is corrupted on the server. Has anyone in Oracle really tested the download recently?
    Of cause next monday I will check direct download to my Linux machine at work.
    Thanks in advance!
    Dong Liu
    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg

    Hi,
    I reported that Oracle 9.0.1 Linux Download Disk 1 does not work if I first download it to Windows. My colleague downloaded it to a Linux machine, and it can be unzipped.
    So only one disk file can only be directly downloaded to Linux.

  • About to format hard drive. How do I preserve I-Tunes?

    Hi,
    *About to format hard drive. How do I preserve I-Tunes*
    Apologies if this has been asked before, but I need reassurance that I will not make an expensive mistake.
    I have iTunes installed on my PC, but the library and any original music files are stored on a NAS external device.
    What do I need to do in iTunes (or anything else) before I reformat my PC drive?
    In addition, I am guessing, but I figure that that afterwards I reinstall iTunes and reenter some settings and I can make connection with my Library again? Is that correct?
    Thanks in advance
    flobbyblob

    Are you certain that the iTunes folder containing you library databases is on the external drive?
    If you have the iTunes folder containing your current iTunes Library.itl and iTunes Music Library.xml in My Music on the C: drive, then you need to back that up.
    If you are certain everything is on the external drive then all you need to do with your PC is deauthorise it before reinstalling Windows.
    You asked something else:
    Yes after reinstalling Windows and iTunes, you redo the settings you used to connect to your library on the external drive. You will also need to reauthorise your PC.
    Message was edited by: polydorus

  • Problem About Date Format in Dashboard

    Hi All:
    I still have problem about date format in dashboard and dashboard prompt. When I use cast(dealdate as date) in dashboard prompt(coloumn formula of deal_date) and filter view(In edit view of filter coloumn formula) Then It converts the date format from mm/dd/yyyy to yyyy-mm-dd But I want format in dd-mm-yyyy.
    ANd also one problem more that is when I use cast function in filter coloumn formula then how I give alias to it. Because it shows same like that cast(deal_date as date) on dashboard filter view.
    Pluzz help me to solve this problem
    Haroon

    Changing the ini files should change the date format. Have you amended the correct instances of the date format? In dbFeatures there is one for every ODBC connection.
    For example in my DBFeatures.INI
    [ DATA_SOURCE_FEATURE = ODBC_300 ]
    DATE_FORMAT = 'dd-mm-yyyy' ;
         TIME_FORMAT = 'hh:mi:ss' ;
         DATE_TIME_FORMAT = 'dd-mm-yyyy hh:mi:ss' ;
         IDENTIFIER_QUOTE_CHAR = '"';Also a file on the presentation side in OracleBI \web\Config called localedefinitions.xml.
    Inside that there appears to be defaults for localisations - maybe it is possible to amend your locale in the Administration settings of the dashboard.
    However, I haven't tried this sorry.

  • Applet error, "not in gzip format"

    When trying to open an applet Java console shows:
    Error in server data transaction: Not in GZIP format
    Error while downloading productGroups. Mess=Not in GZIP format
    basic: Applet initialized
    basic: Starting applet
    basic: Applet started
    basic: Told clients applet is started
    But no applet appears :-(
    Using kubuntu, firefox 3.08, java version "1.6.0_13"
    Using it in windows xp and firefox works fine.
    Any suggestions?

    When trying to open an applet Java console shows:
    Error in server data transaction: Not in GZIP format
    Error while downloading productGroups. Mess=Not in GZIP format
    basic: Applet initialized
    basic: Starting applet
    basic: Applet started
    basic: Told clients applet is started
    But no applet appears :-(
    Using kubuntu, firefox 3.08, java version "1.6.0_13"
    Using it in windows xp and firefox works fine.
    Any suggestions?

  • About date Format

    hi all experts,I met a problem about date format.
    I created a select-option refer to VBEP-EDATU(char 10), but I hope to set the display format as YYYY/(.)MM or MM/(.)YYYY.just like selecting the Month planning period in T-code :MD61
    How to realize it ?
    thanks in advance.
    regrads.

    Hi Lin,
    Split the string,
    DAta : yr type char4,
              mnt type char2,
              day type char2.
    yr = vbep-edatu+0(4).
    mnt = vbep-edatu+4(2).
    Concatenate yr mnt day into t_date separated by '/' .
    Rgds,
    Jothi.P

  • Hi, i have edited a clip in hd with final cut, now I need to export it in 2K format . anybody knows how i can do it in FCP?  in internet I found only few info about 2K format: no more than frame size.  nothing about codec or similar. thanks for any help.

    Hi, i have edited a clip in hd with final cut, now I need to export it in 2K format. anybody knows how i can do it in FCP?  in internet I found only few info about 2K format: no more than frame size.  nothing about codec or similar. thanks for any help.

    SoCal thanks for the attention,
    sorry for having wrote the question directly in the subject, but first i wrote it by text edit then copied it, but in the wrong place too.....
    coming to my question, timeline settings are:
    as it is a commercial promo that must be projected in a multiplex cinema, the 2K format is needed.
    I've heard about transcoding services, and they are very expensive. 
    so i'm looking if there is a way to do everything by fcp.
    the project will be delivered as SD DVD for archive pourposes and as a single file for the projection or eventually transconding.
    p.s.: sorry for my english, i'm from italy: had my last english lesson 35 years ago!

  • Not in GZip Format Exception

    Hi All,
    When decompressing zipped data using GZIPInput stream, i get this exception "Not in GZip Format Exception". I am not quite sure what to do on this. I have been through forums and all but din get any answer for this. So any help on this is highly appreciated.
    Thanks
    Jeevan

    >
    I dint get u, what is this zip != gzip?
    zip.format()) != gzip.format()

  • Not in GZIP format problem

    I am experiencing the following IOException when using the GZIPInputStream:
        java.io.IOException: Not in GZIP format
            at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:131)
            at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
            at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68)
            ...I am trying to read an Entity Body from an HTTP response that has been compressed using GZIP compression. I read in chunks of 4K bytes, but my first read always ends at the Entity Body (this is not a problem of course, but I thought it was a bit odd). However, this my first read of an InputStream always gives me the following:
    Status-Line
    Headers
    CRLF
    So, the next read would return me the first byte of the Entity Body. By investigating the supplied Headers I discovered that GZIP compression is used. Therefore, I create a GZIPInputStream with the original InputStream as parameter. But when I start reading from the GZIPInputStream I get the mentioned exception.
    Looking into the GZIPInputStream it seems to have a problem with the GZIP header magic number (0x8b1f). This magic number consists of two bytes. I thought it would be nice to try the following, just to see what happend:
        byte[] gzipHeader = new byte[2];
        inputStream.read(gzipHeader, 0, gzipHeader.length);
        GZIPInputStream gzipInputStream =
            new GZIPInputStream(
                new SequenceInputStream(
                    new ByteArrayInputStream(gzipHeader), inputStream));
        ...And guess what? This seems to solve my problem, however I would not consider this to be a nice fix. Looking to see what is in the byte array, I discovered the following: 0x1f8b. I found the following snippet of code in GZIPInputStream:
        private int readUShort(InputStream in) throws IOException {
            int b = readUByte(in);
            return ((int)readUByte(in) << 8) | b;
        }This method is used to read in the GZIP header magic number. Now correct me if I'm wrong, but reading the bytes 0x1f8b results in the desired 0x8b1f. Therefore my little test mentioned earlier works, but why doesn't the following work:
        GZipInputStream gzipInputStream = new GZIPInputStream(inputStream);
        ....Can anybody help me with this?
    Jack...

    http://en.wikipedia.org/wiki/Gzip
    Other uses
    The �Content-Encoding� header in HTTP/1.1 allows clients to optionally receive compressed HTTP responses and (less commonly) to send compressed requests. The standard itself specifies two compression methods: �gzip� (RFC 1952; the content wrapped in a gzip stream) and �deflate� (RFC 1950; the content wrapped in a zlib-formatted stream). Compressed responses are supported by many HTTP client libraries, almost all modern browsers and both of the major HTTP server platforms, Apache and Microsoft IIS. Many server implementations, however, incorrectly implement the protocol by using the raw DEFLATE stream format (RFC 1951) instead. The bug is sufficiently pervasive that most modern browsers will accept both RFC 1951 and RFC 1950-formatted data for the �deflate� compressed method.

  • Getting  "IOException Not in Gzip format "

    Hi,
    I am getting this *"IOException Not in GZip format "* while Uncompresing.
    I have checked the data. It's already in gzip format (compressed).
    My Code looks like:-
    byte[] HTMLCompress = new byte[contentlength];
                byte[] HTMLUnCompress = new byte[10000];
                if(b != null) {
                    for( int total = b.length-1 , i = contentlength-1 ; i >= 0 ; i-- ){
                        HTMLCompress[i] = b[total--];
                String htmlstr = new String();
                if(HTMLCompress.length > 0) {
                    ByteArrayInputStream bs = new ByteArrayInputStream(HTMLCompress);                
                    System.out.println("Inside >> " + bs);
                    GZIPInputStream gzp = new GZIPInputStream(bs,contentlength);                
                    int noread = gzp.read(HTMLUnCompress);
                    for( int i = 0 ; i < noread ; i++ ){
                        htmlstr += (char)HTMLUnCompress;
    *Can anyone please suggest me what's the issue with this...*.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    The exception is clear : IOException Not in GZip format
    So check what contains really the variable 'b'.
    Then what does the first loop ???
    instead of
            for( int total = b.length-1 , i = contentlength-1 ; i >= 0 ; i-- ){
                HTMLCompress[i] = b[total--];
            }Try this :
            for (int i=0; i<b.length; i++) {
                HTMLCompress[i] = b;
    or System.arraycopy(b, 0, HTMLCompress, 0, contentlength);
    I repeat, probably b buffer doesn't containt gzip format. Check you stuff before sample code you posted.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Exception invoking JSF : Not in GZIP format

    Hi,
    I am trying integrating jsf and spring.
    I am using JBoss server, JSF1.2 and Spring Framework 2.5.
    When I submit my jsf page, I am getting this exception:
    06:57:34,839 FATAL [renderkit] Not in GZIP format
    java.io.IOException: Not in GZIP format
         at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
         at java.util.zip.GZIPInputStream.<init>(Unknown Source)
         at java.util.zip.GZIPInputStream.<init>(Unknown Source)
         at com.sun.faces.renderkit.ResponseStateManag
    Have you experienced this problem earlier? Let me know?
    Edited by: Laddha on Nov 21, 2007 12:14 PM
    Edited by: Laddha on Nov 21, 2007 2:01 PM
    Edited by: Laddha on Nov 21, 2007 2:07 PM

    It is working now, I just hand coded the jsf page now. Probably content copied earlier was problem.

  • File not in GZIP format

    Hello, i have already searched the forum but no one seems to give clear answers on why GZIPInputStream gzip = new GZIPInputStream(new (*any input stream)); throws an IOException: File not in GZIP format...
    can somebody please help me with a code sample. My program sends compressed files on the network and the receiving end decompresses it. But it doesnot work because of the said exception...

    i badly need your help *: (*

  • Question about the format of an external drive.....

    Ok quick question...
    my external is formatted mac OS extended journaled. I need to create a new partition in FAT so that it can be read when I use bootcamp. However when I use disk utility to create a partition it says it would have to format the whole harddrive and I'd lose what is currently on there..
    Is there anyway that I can do this without losing what I currently have on there?
    I only need to have about 50 gigs read/writeable in windows running on bootcamp.

    You might want to try out MacDrive, which will allow Mac OS formatted drives to be read from and written to in Windows. That could save you having to repartition your external drive completely. There's a five-day free trial available so you could try it out first.
    Intel Mini 1.66 GHz, Mac Pro 2.66 GHz   Mac OS X (10.4.8)  
    Vista and XP running under Parallels

  • About vertical format (iBooks Author)

    Hello people! This is my first entry, but not the first time I check for your support. This is because I can't figure something out, so you might help me a little.
    This is my problem: some creative son of his/her mother decided to propose vertical covers for the electronic books, my guees is because of the display on the virtual shelf. You following me? VERTICAL
    BUT, this creative son of his/her mother, decided to propose only horizontal designs inside the books. Am I the only crazy person who see this (HORIZONTAL)??
    iBooks Author solve this problem with a large .pdf ugly thing. I think is a gorgeous thing to be able to design in both formats (call that a smart book? I think it's BRILLIANT!). But to make coherent designs, means to keep BOTH proposals similars. You following me?
    So, let's think a little about proposing a vertical format (let's say you already did the horizontal format, or you just don't want to do it): who decided to make an infinite .pdf from start to end, scrolling it down?? Why can't I do the "figer thing" to change the pages like the horizontal version?
    I have loose a great deal of my time trying to design correctly a vertical format book. Why? Because it was published that way, it was conceived that way, and it amaze me how difficult all the apps makes my life because of a single thing: a stupid vertical format. And I don't want to publish a .pdf, don't want it to look as an ugly .pdf, don't want it to look like the exported file wants it because it was not designed that way! And I'm in a corner, thinking about my little possibilities left.
    Do I have to design my book with a crooked head and tell the people they must block their iPads in order to read it right, and to "scrool" the pages "upside down" istead of "right to left"? How ridiculous is that?
    Forget about the rest of the apps: even if they allow me to design a vertical format, when I publish the illustrated book, all the elements will move, no matter how many times I block them. I have done it right and I have done it wrong (like exporting a full size page, image and text included), and it still bothers me how stupid the apps can behave. They are like incompetent employees: totally freaks me out.
    Do I really have to design a new app  for a single illustrated vertical book with no interactions at all? It looks idiotic. But I might be the idiot here, though I don't think so (not this time)
    Thank you very much and please forgive my english. Hope I make myself clear enough.

    Already done. But on the iPad I only have a large vertical book, can't "change pages with the figer", but scrooling up to reach the bottom.
    What do you mean with "satisfy both"? Landscape and portrait? (sorry, I really must check everything because of the language). Why I would disable portrait when I want it to be in that format (and luckily ONLY in that format)?
    Poor KT, you look so helpless in your photo. I'm really sorry if I sound that dumb

Maybe you are looking for