I am new to Angular . When the user uploads a file, I want to get the file location . But I am getting a path value like this (The actual location is D:\Games\example.docx):

```
C:\fakepath\example.docx

```

The below is my code:

```
 onFileSelected(event){

    console.log(event);
    this.selectedFile= <File>event.target.files[0];
    console.log(event.target.value);

    this.addSftpModel.selectedFile=this.selectedFile;

  }

```

How can I get the original location of file uploaded