If it fails the check, I can do this and everything works as it should
global $_post;
jrCore_delete_upload_temp_directory($_post['upload_token']);
But then I've lost other media items which may have been uploaded to other fields.
If I unlink just the failed file the form won't save even with all good files.
Is there any way to get rid of the failed file and notify the user but not insist they upload all the files again, the files can often be quite large.
Any advice or ideas appreciated Thanks!
--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
updated by @ultrajam: 08/03/17 01:33:28AM