(PHP 5 >= 5.5.0, PHP 7, PHP 8)
This class or CURLStringFile should be used to upload a file with
Unserialization of CURLFile instances is not allowed. As of PHP 7.4.0, serialization is forbidden in the first place.
Name of the file to be uploaded.
MIME type of the file (default is
The name of the file in the upload data (defaults to the name property).