CF8 Upload a file en afterwards download the uploaded file

How to upload a file to a user-specific directory and allow download in ChronoForms.

Overview

The issue occurs because the specified upload directory does not exist, and CF does not automatically create it.
Enable the new setting to force directory creation upon upload, and use either a direct link or the new Download action to provide file access.

Answered
ChronoForms v8
ra 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 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.
This topic is locked and no more replies can be posted.