Jump to content

Request for directory from user


ShurikA

Recommended Posts

Well, the convenient way is to use a file input field, and then use Javascript to try and parse out the path, if Javascript even has access to that. If you do that and hit submit, even if you just want the directory name, the user will still have to upload whatever file they chose. I'm not sure what the point of this is though, even if you get the path of a directory on the client's machine, you can't do anything with that, you would not be able to, for example, write a file to that directory. So I'm not sure what you're using this for. You could always just have the user type in a directory name.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...