Can I save pdf to a folder... How do I...? Help, please.

Friends,

I'm trying to create a pdf file and save it in a folder. So I can email pdf using cfmailparam.

< cfset filevar = #emp_no # "_" & #dateformat (now (), ' mm/dd/yyyy') # >
"< cfdocument format ="pdf"srcfile =" "#pdfpath #" file name = "#filevar #" overwrite = "yes" >

I get an error message...

same code... I created pdf using < cfdocument > < / cfdocument >... fine .works...

"but when I change to this... < cfdocument format ="pdf"srcfile =" "#pdfpath #" file name = "#filevar #" overwrite = "yes" >

code is to throw an error...
An exception occurred during execution of processing of documents. The system does not have the specified path.

Please help me...

Your filename attribute should the path to the file and its name.

Tags: ColdFusion

Similar Questions

Maybe you are looking for

  • Change the local iPhone backup file by default on PC

    I have a HP PC with Windows 10 House 11 flow. iTunes allows me to change my storage location of media on the F drive which is a 64 GB sd card. I don't see a way to change the phone backup file local saving by the c-drive location. I don't have enough

  • update notes for the iphone and touch protection ID

    I bought a 5s that I restored it with the backup of my computer, there are currently on ios 9.3.3 but notes is always the same it has not been updated, and I put a code of access as well as a contact ID, but when I hit the square down so I can put th

  • Transfer iTunes balances

    How can I transfer balance iTunes of my son turn it back on for the family account?  We have home sharing enabled.  Can I transfer the balance or just buy him for me and content to share?

  • Satellite A200 - no lights, no fans

    Hello world I have a toshiba satellite a200-244, and after about 15 months of use it allows to turn off his own time. I have half of heart sought the problem but could not get through to the main problem that I discovered later was dust in the coolin

  • Can I switch from a graphics without a new power supply on the Pavilion p6120t?

    Have your desktop Pavilion p6120t with power supply 250w... I was wondering if any of "recommended" card graphic 512 MB (GeForce G210, Radeon HD4350 and nVidia GeForce GT 120) would be OK with 250 watts?