0

Is there any way to do this? I thought I'd find hundreds of results on google for this but not really finding anything. I want to set it to a location either on the web server or on a mapped networked drive somewhere.

I'm talking about with <input type="file" ... /> to clarify.

1 Answer 1

1

You cannot. This runs on the client, and for security reasons you can't interfere with the client's filesystem through Javascript.

It is however possible using a flash or Silverlight plugin, as the user can allow access from within these applications to the local filesystem. It would cause alot more code though.

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

Comments

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.