Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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