T
tikcireviva
Hi,
I've had the following URL that generated by the javascript. It works
as "down a pdf file"
https://10.10.10.167/portal/servlet/project.SaveFile?PageUrl=ReportManager&FileName=tmp36237.pdf
I expected that the pdf filename should be tmp36237.pdf, however if I
opened it in IE, it saves the file with a filename project.pdf.
If I am using firefox, it saves the correct filename.
I wonder if anybody can help me on this issue.
best regards,
Kit
--- My code ----
I've had the correct filename right from alert() though...
function download_pdfFile() {
alert ("This is an alert: " +
"servlet/project.SaveFile?PageUrl=ReportManager&FileName=" +
_PdfFileName, "_blank");
window.open("servlet/project.SaveFile?PageUrl=ReportManager&FileName="
+ _PdfFileName, "_blank");
}
I've had the following URL that generated by the javascript. It works
as "down a pdf file"
https://10.10.10.167/portal/servlet/project.SaveFile?PageUrl=ReportManager&FileName=tmp36237.pdf
I expected that the pdf filename should be tmp36237.pdf, however if I
opened it in IE, it saves the file with a filename project.pdf.
If I am using firefox, it saves the correct filename.
I wonder if anybody can help me on this issue.
best regards,
Kit
--- My code ----
I've had the correct filename right from alert() though...
function download_pdfFile() {
alert ("This is an alert: " +
"servlet/project.SaveFile?PageUrl=ReportManager&FileName=" +
_PdfFileName, "_blank");
window.open("servlet/project.SaveFile?PageUrl=ReportManager&FileName="
+ _PdfFileName, "_blank");
}