Link to home
Start Free TrialLog in
Avatar of CapnCrnch
CapnCrnch

asked on

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
Avatar of fritz_the_blank
fritz_the_blank
Flag of United States of America image

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
Avatar of CapnCrnch
CapnCrnch

ASKER

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
And you want the folder location from the client or the server?

FtB
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
ASKER CERTIFIED SOLUTION
Avatar of fritz_the_blank
fritz_the_blank
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial