I have a SafeCracker File field in a SafeCracker form that allows users to upload photos. The directory to which these photos are uploaded has a max file size of 3 KB and max dimensions of 500px x 500px.
If too large a photo is chosen in the form, the entry will go through without uploading the photo or giving any error message to the user.
The built-in file field won’t work because I can’t control to which directory the photos are uploaded and there’s no way users are going to always upload to the right place, esp. if their photo is too large, they may just upload it to a different dir that allows for larger photos. Plus it’s just not as simple and familiar for users as the SafeCracker File field.