Is there any way to get the request image file, save it to a directory, and change its name from the server using JavaScript
?
Is there any way to get the request image file, save it to a directory, and change its name from the server using JavaScript
?
I have been searching, and actually using only JavaScript
is impossible to upload files, for security reasons it is only possible to load files on the client side, ie we can not rename, move or something like < in> (Manipulate) .
Unless we use NodeJs to create a API
with JavaScript
.
No, for security reasons you do not have control over handling client-side files, you can rename it after it receives on the server side.