Page 1 of 1

get full path of directory

Posted: Fri Feb 29, 2008 11:22 am
by bouncer
hi there.

can someone tell me how can i get the path of a directory, like using <input type="file"> but instead of giving a full path+file only the directory path.

thanks in advance

Re: get full path of directory

Posted: Tue Mar 04, 2008 10:41 am
by pickle
You can't use the <input type = "file"> element to get just the path of a directory. You could probably use Javascript to retrieve the value of that field, then pull off the filename.

And no - you can't use it to upload an entire directory at once.