Closed blsn closed 6 years ago
@blsn Oh, I get that, I still get the file name for uncompleted uploads but it is the name as stored in the temporary directory (by PHP), something like PHPjks
. The generated name (by the library) only works for completed files. Is there any reason you are trying to get the filename for uncompleted uploads ?
Pls let me know your reasoning. I would take a look at this tomorrow
To provide the user with a notification about the uncompleted file name beside the error message accordingly.
This feature is very important.
59
Two files were uploaded. file name visible only for validation file error:
{"files":[{"error":"Filetype not allowed","errorCode":0,"completed":false,"name":"header-image.jpg","size":72193},{"error":0,"errorCode":0,"completed":true,"size":2254}]}
This will work only as follows:
But how can I get the file names for both completed/uncompleted?