0

When a user clicks a input value with type = file they are prompted with a mini-explorer type window from which they can select a file. Is there anyway to control what directory they are shown first?

Obviously doing so fruitfully would require knowledge of the user’s file system. But for my use case I do know the file system of my users.

(For what its worth, i’m webkitdirectory function to ask a user to select a directory, and I would like to start by suggesting a default that makes sense for my use case).

3
  • You can't do this due to some security reasons. Commented Feb 27, 2017 at 5:19
  • Explain the security reasons... Commented Feb 27, 2017 at 5:19
  • You can refer this link.. stackoverflow.com/questions/17420595/… Commented Feb 27, 2017 at 5:23

0

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.