I was hoping there is some cfml method of controlling a URL that points to a PDF file.
So the URL will pop up naturally asking you to save the PDF.
I was hoping to script a way of saving this to a server location silently, then emailing it in a cfm page.
i am able to grab the pdf with the code below. However it still pops up asking one to save or open…
is there a way of doing this silently without the user intervention.
<cfhttp url=“http://advance_dell/ReportServer_SQLEXPRESS/Pages/ReportViewer.aspx?%2FGreenForm&rc:showbackbutton=true&ID=1&rs:Format=PDF”
method="get"
getAsBinary="yes"
path="c:/Temp/"
file="testFile.pdf"/>