Original name and extension of the image #1102
Closed
santosalexandregomes
started this conversation in
General
Replies: 1 comment
-
Try this: var formData = new FormData();
// The third parameter is important
formData.append('file', file, file.name); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm uploading my images with ajax, and using laravel to upload them to the server.
How can I get the original name and extension of the file in the backend?
Beta Was this translation helpful? Give feedback.
All reactions