Easiest way I can think of is to copy and.rename the.files to a staging
folder. Create the pdf and delete the files from the staging folder.
On Aug 16, 2011 1:28 PM, "CF Master" <[email protected]> wrote:
> Need a little assistance here from my fellow HOU-CFUG crew
> please....here's the issue:
>
> I have this application that uploads images, docs, etc. into this one
> directory. The filenames are all saved in a database table. Now,
> another piece of my application exports these contents into a PDF/
> cfdocument. Now, it's no problem w/ working w/ other PDFs (create
> new, merging, etc.). The problem mainly affects embedding other files
> into the PDF as well.
>
> Here's the GOTCHA. Each of these files are saved uniquely without a
> file extension. The file extensions are saved in the DB table.
> Imagine the three records below were in a DB table called UploadFiles.
>
> filename | extension
> ------------------------
> abc | pdf
> 123 | png
> 222 | doc
>
> So actually, the files would be abc.pdf, 123.png, and 222.doc. Please
> note that in my file/folder structure, it only contains the 'filename'
> without the file extensions. Are there any suggestions you all can
> provide?
>
> --
> You received this message because you are subscribed to the "Houston
ColdFusion Users' Group" discussion list.
> To unsubscribe, send email to [email protected]
> For more options, visit http://groups.google.com/group/houcfug?hl=en
>
> ColdBox training coming to Houston in July from the creator of ColdBox,
Luis Majano!
> Use discount code "CFUG" for $175 off. More info at
http://bit.ly/ColdBoxHouston

-- 
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en

ColdBox training coming to Houston in July from the creator of ColdBox, Luis 
Majano! 
Use discount code "CFUG" for $175 off. More info at http://bit.ly/ColdBoxHouston

Reply via email to