I have a field as follows:
<input type="file" id="fileUpload">
And I want to know What is the complete path ?, but when doing this.val()
from javascript
, I get the following:
C: \ fakepath \ test.txt
How can you solve it?
It's to get the file and upload it to an FTP connection from laravel.