-3

Possible Duplicate:
Receiving fake path while uploading
ASP.NET: Get file path on client’s machine (Any possible solutions/work arounds?)

i need to get client file Full Path and send it to webservice. but i could not get path!because New browser for security issues not allow to access it for example in file upload.

Community
  • 1
  • 1
m.rahimzade
  • 1
  • 1
  • 2
  • Java Applet or Adobe Flash – Ian Jan 08 '13 at 06:26
  • 2
    You can't get the local file path. Browsers specifically hide this information so that javascript can't access it. It's a security issue – Anujith Jan 08 '13 at 06:26
  • I heard there a way to deal with file system using Chrome started in a special mode : http://stackoverflow.com/questions/5429513/writing-to-local-file-system-in-chrome-extension – sdespont Jan 08 '13 at 06:32

1 Answers1

0

You can not directly get the physical file path of client machine, because of browser security issue, as you mention in your question.

but you can do it using any third party technologies, like you can develop your file upload control in silver light or adobe flex/flash so it might be possible using this technologies to get directly client file path.

Tejas Vaishnav
  • 466
  • 5
  • 20