Welcome to OpenXML Developer Sign in | Join | Help

Problems with zipping and unzipping

Last post 05-17-2007, 9:28 AM by aakash. 3 replies.
Sort Posts: Previous Next
  •  04-25-2007, 6:10 PM 1479

    Problems with zipping and unzipping

    Sorry if this is answered somewhere else, I couldn't find it.

    I'm exploring the OpenXML files by unzipping them and then looking at the directory structure.  My problem is that when I rezip the files by using the Windows SendTo->Compressed folder, and rename the extension, Office applications throw errors that the file is corrupt.  Is this not a legitimate way to create files?

    I appreciate any help someone can give.

    -David
  •  04-26-2007, 3:26 AM 1482 in reply to 1479

    Re: Problems with zipping and unzipping

    Hi,

    It's right,but you might have zipped the folder which contains the folders .rels,docProps,word and file [Content_Types].xml.Just zip these contents and not the folder containing them.

     

  •  04-30-2007, 6:32 PM 1504 in reply to 1482

    Re: Problems with zipping and unzipping

    A very common mistake by the way...   ;)

  •  05-17-2007, 9:28 AM 1574 in reply to 1504

    Re: Problems with zipping and unzipping

    yes, and make sure you use ZIP Format not RAR or any other Format.

    Thanks
    Aakash Jain
    http://www.aakashjain.com
View as RSS news feed in XML