Reputation: 123
uploadWrapper($event)
{
console.log("Need the local computer path of file selected")
}
<input type="file" (change)="filesPicked($event)" class="form-control" multiple>
I need the full path of the file when user selects a file from Choose File.
Upvotes: 1
Views: 288
Reputation: 554
Unfortunately, for obvious security reasons, JS doesn't have access to the file system.
Upvotes: 1