79666871

Date: 2025-06-15 21:21:48
Score: 1.5
Natty:
Report link

When FilePond uses AJAX uploading (with process), the files are uploaded separately via JavaScript and are no longer part of the <input type="file"> when the form is submitted. That’s why $request->files[] is empty.

What you need to do is manually store the filename returned from the process() call (usually the path in your temp folder) into a <input type="hidden" name="uploaded_files[]">. This way you’ll have access to the uploaded files in your update() method.

Then you can move them from the temp folder to the final location just like before.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: oskratch