0

I need the full client path of the file on the server side so that I can use a library to get text from the document. It appears that due to security reasons, IE8 replaces the file name with

C:\fakepath\document.doc

Is there a way to get the full path to the file name?

2 Answers 2

1

Only if the user enables that setting (disabled by default) in IE8 can you send the full path.

Tools >> Internet Options >> Security tab >> Custom Level (for selected zone) >> Misc section, check Enable for "Include local directory path when uploading files to a server".

Sign up to request clarification or add additional context in comments.

Comments

0

No.

For security reasons, IE will not send the path to the server. There is no way to get it.

You might be able to use Flash, though.

2 Comments

That's not true, there is a way to get it. See my answer.
@jacerhea: I meant on the server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.