wheels_tutorial_20081028_J657D6HX.pdfin that folder, here is a quick example of how you can deliver that file to the user. Let's start with creating a link to the action that will handle the sending of the file first.
sendTutorialcontroller action. Just like the rendering functions in CFWheels, the sendFile() function should be placed as the very last thing you do in your action code.
ram://- this is particularly useful when you're dynamically creating files (such as PDF reports) which don't need to be written to the file system.
http://www.domain.com/files/wheels_tutorial_20081028_J657D6HX.pdfin their browser. Although users would need to guess the file names to be able to access the files, we would still need something more robust as far as security goes.
paramsstruct in this context!