get full path of directory

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
bouncer
Forum Contributor
Posts: 162
Joined: Wed Feb 28, 2007 10:31 am

get full path of directory

Post 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
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: get full path of directory

Post 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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply