We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Mime type is "application/zip" after Save method


I have this word file which is in MemoryStream. After loading that stream into Aspose constructor, if I save that file I get mime type “application/zip”.

Dim doc As Global.Aspose.Words.Document = New Global.Aspose.Words.Document(stream)
doc.Save($“C:” + Guid.NewGuid().ToString() + “-Processing-Constructor.docx”)

f02c9af1-4814-411a-89bd-9eaf2638ac80-Processing-3.zip (15.5 KB)

I have attached word file here.

Thank you

I get this file after calling code mentioned above.

49f79e6d-1b33-4fa0-aead-ccb0b8ccc977-Processing-Constructor.zip (9.4 KB)

I’m checking mime type here



We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-19478. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

A post was split to a new topic: Mime type is application/zip after Save method

The issues you have found earlier (filed as WORDSNET-19478) have been fixed in this Aspose.Words for .NET 19.12 update and this Aspose.Words for Java 19.12 update.