Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am using html input tag for open file dialog box.
i am getting full file path when i run the code in IE,but when i try the same code in other browser like google chrome, it is giving only the name of the file and not the full path.

can anyone plz tell me, how to get full path in chrome or other browsers?
can i use javascript for same?

1 solution


Reading the full path is blocked. This is done to add more browser security. Maybe using an advanced uploader like[^] will solve your problem.

-- Daan
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900