Browse Folder dialog in ASP

I want to be able to display the browse folder dialog box when a user clicks on a button.  I can do the file dialog box but I need to show the browse folder dialog box instead.

How can I do this?

Any/all help is appreciated.

Thanks.

Capn
CapnCrnchAsked:
Who is Participating?
 
fritz_the_blankConnect With a Mentor Commented:
I don't think that you can do that with standard html or asp. There may be some sort of ActiveX component to allow that, but then you will run into security issues.

FtB
0
 
fritz_the_blankCommented:
To see folders on the client, try:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>

<BODY>
<FORM METHOD=POST ACTION="">
Choose:<input type="file">
</FORM>
</BODY>
</HTML>


FtB
0
 
CapnCrnchAuthor Commented:
That gives me the normal file browse dialog box which does give the folders but makes the user have to select a file.  I want the user to select only a folder location.

Capn
0
 
fritz_the_blankCommented:
And you want the folder location from the client or the server?

FtB
0
 
CapnCrnchAuthor Commented:
Client.  The purpose of this is to allow the user to copy a file from one location (which is already been given) to another location that the user will select based on the folder.

Thanks.

Capn
0
All Courses

From novice to tech pro — start learning today.