Specify the file upload path

I have this form when uploading a file, but I can not specify the path to save the downloaded file. How to upload a file to the specified folder? note: use maybe javascript

Here is my code:

<form method="post" action="file-upload-1.htm" name="submit" enctype="multipart/form-data">
<input type="file" name="fileField"><br /><br />
<input type="submit" name="submit" value="Submit">
</form>
+4
source share
2 answers

To save a file on the server, you always need a component on the server side to save the file; there is no way to create a client solution.

Imagine: everyone could tell their client that otherwise the files are stored on your server. :-)

+5
source

front-end/HTML. , , , . , .

+2

All Articles