I was able to create a file upload system that basically copies files to a specific folder and saves its location in the database. Now I need help with the download part. Imagine my file location: Files /1306242602661_file1.exe , and, in my opinion, I have this:
<g:link controller="fileManager" action="downloadFile"> Download</g:link><br>
I need help with the downloadFile controller. Could you give me a hint on how to do this, given that my file name is a string:
Line fileName = "Files / 1306242602661_file1.exe"
andré_resende
source share