View Single Post
Old Jun 2nd, 2006, 2:30 PM   #1
MegaArcon
Programmer
 
MegaArcon's Avatar
 
Join Date: Aug 2005
Posts: 66
Rep Power: 0 MegaArcon is an unknown quantity at this point
Allow user to select a directory

Hi all!

I've got a web page where I want the user to be able to select a directory so that my script can preform actions on that directory. The problem is that the only form input that I'm aware of that lets a user do something similar to this would be the

<input type="file" />

tag. However, this will not allow the user to select a directory...it seems that it HAS to be a file. Is there any other tag or method I can use to let the user of the web page select a directory? (I'm using python as the cgi if that makes any difference to the method.)

Thanks in advance!
__________________
Isn't that just the way life goes? If it's worth doing, it's NP-Hard. Todd Wareham - Memorial University of Newfoundland
MegaArcon is offline   Reply With Quote