Forums

CF8 Upload a file en afterwards download the uploaded file

ralphg 16 Feb, 2025

Hello,

I want to configure a form to upload a file to a user specific directory. When I configure the upload directory to be {path:front}/uploads/{user:id}/ it tels me that the directory doesn't exists. Is there a way it creates the directory for me? 

I want to give the user the option to download the previous uploaded file. I store the name from the file in a table. Is this possible?

Best regards,Ralph.

Max_admin 16 Feb, 2025
Answer

Hi ralphg

I have added a new setting to force create the directory if it does not exist, this will be available in the next update.

You can create a link to the uploaded file so that the user can download it, Or you can use the new Download action where you can specify the file path, this is also should be available in the next update

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.