public static string DocConvertionUrl = "https://xxx.com/doc2pdf";
<%@ Page Language="C#"%><% var ins = Request.InputStream; var loadOptions = new Aspose.Words.Loading.LoadOptions { LoadFormat = Aspose.Words.LoadFormat.Auto }; var pdfDocument = new Aspose.Words.Document(ins, loadOptions); pdfDocument.Save(Response,"file.pdf", Aspose.Words.ContentDisposition.Attachment, new Aspose.Words.Saving.PdfSaveOptions() ); %>
web server read the exe from disk and send it back in the response. The user will then be able to choose whether to open, save, or discard the file.Please