Documents won't download on Samsung tablet

Hi,

I am using Aspose Words for .Net version 13.
When I print a document (any type .jpg, .doc, etc…) on Samsung tablet, it doesn’t download. The same thing works fine on desktop. Can you please give me an idea about why it might be happening?

Here is a sample code for doc file:
Aspose.Words.Document docs1 = new Aspose.Words.Document(document.FilePathAndName);
MemoryStream outStream1 = new MemoryStream();
docs1.Save(outStream1, SaveFormat.Docx);
Response.ContentType = “application/vnd.openxmlformats-officedocument.wordprocessingml.document”;
Response.AddHeader(“content-disposition”, “attachment; filename=test.docx”);
Response.BinaryWrite(outStream1.ToArray());
Response.Flush();
Response.End();

Thank You,
PM

Hi,


Thanks for your inquiry. I would suggest you please upgrade to the latest version (v13.3.0) from here and let us know how it goes on your side. In your case, please use Document.Save Method (HttpResponse, String, ContentDisposition, SaveOptions). Hope this helps you.

Moreover, I would suggest you please read the following article which outlines how to send a document to client’s browser:

If the problem still remains, please attach your input Word document here for testing. I will investigate the issue on my side and provide you more information.