Solved

Browse Folder dialog in ASP

Posted on 2004-08-30
5
234 Views
Last Modified: 2008-03-10
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
Comment
Question by:CapnCrnch
  • 3
  • 2
5 Comments
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 11931653
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
 

Author Comment

by:CapnCrnch
ID: 11931738
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
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 11931831
And you want the folder location from the client or the server?

FtB
0
 

Author Comment

by:CapnCrnch
ID: 11931918
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
 
LVL 46

Accepted Solution

by:
fritz_the_blank earned 125 total points
ID: 11932014
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dreamweaver server behavior gone 6 145
ASP/VB email question 4 46
Adding Row and Cell on a table 14 25
Designing forms 3 17
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question