Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

how to get the field name of an uploaded file in Controller::request?

Controller::request->getUloadedFiles() does not contain the name of the input field.


Yes, it contains it:


I find the getKey method to get the name value of the input.