I am using jquery to upload file but on server it gets replaced with fakepath :
My path should be "C:\Users\Download\filename.xls" it gets replace with "C:\fakepath\filename.xls"
I used this approach to solve above problem but :
var selectedPath = $('input#FileData_File').val().split('\\').pop();
//Filename.xls
but it gives only filename and eliminates path , how to get fullpath with filename.