upload files

Hi, i’ve a doubt… How can I upload files in a form?
Which are the necessary fields in a database to permit to memorise a file?
Thank you!

Just create a field and make it of type upload. In config you can set the directory to upload to. In the database you need a field to store the filename. You can also use a field in the database to store the file into. But then this needs to be a blob. It’s all configuratable and quite powerful. Only point I have is that it’s not always clear that after upload you need to save the record.