google-chromehttpwebrequest

FileUpload in Chrome giving some fake path value


I am trying to upload a file in Chrome then it is giving some fakepath value.for eg. It is giving file name like "C:\fakepath\Hi.txt" .Could you please explain me why it is coming? In other browsers it is working fine.


Solution

  • Chrome shows it for security purpose.

    Also check this link on meta stackoverflow