⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Delete the physical uploaded file when it is Deleted using the Delete Button in File Upload



larasmith
  • profile picture
  • Member

Posted 30 July 2021 - 08:21 AM

The use setFieldUpload is very convenient. 
 
However, I noticed that when I delete the uploaded file's filename, only the filename was deleted
and the physical file remains in the upload directory.
 
 
Is there a way that It could also delete the uploaded file?
Thanks in advance!