Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

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
0
CapnCrnch
Asked:
CapnCrnch
  • 3
  • 2
1 Solution
 
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
 
fritz_the_blankCommented:
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now