473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Open a folder using asp.net

Hi there,
I wanna open the folder using asp.net. I am using anchor link to do
that. But in href part how shall I give the location. Anyone plz help
me out.

Thanks in advance

Nov 19 '05 #1
4 3112
What do you mean "open the folder"? Do you mean that you want to simply
list the contents of the folder? Do you the page to look custom? Do you
want to list folder only under the virtual root, or elsewhere on the drive?
Do you want to open a folder on the client machine?

If you want to list the folder on the server that is under the virtual root,
you can simply tell IIS to allow folder browsing in the virtual root
properties. The URL would simply be a folder that does not have a "default"
or "index" file.

If you want browser of folders outside of the virtual root, you will need to
have a webpage act as a proxy where you would pass some information via the
querystring that will identify the location. You would then output the HTML
yourself to display the folder contents.

If you wanted to open a folder on the client, you cannot. The browser has
no control over the client system (for obvious security reasons).

<sa***********@sify.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi there,
I wanna open the folder using asp.net. I am using anchor link to do
that. But in href part how shall I give the location. Anyone plz help
me out.

Thanks in advance

Nov 19 '05 #2
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:eL*************@TK2MSFTNGP15.phx.gbl...
If you wanted to open a folder on the client, you cannot. The browser has
no control over the client system (for obvious security reasons).


At least, not natively... There are, of course, plenty of Java applets which
will do this...
Nov 19 '05 #3
Very true.

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:u8*************@TK2MSFTNGP12.phx.gbl...
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:eL*************@TK2MSFTNGP15.phx.gbl...
If you wanted to open a folder on the client, you cannot. The browser
has no control over the client system (for obvious security reasons).


At least, not natively... There are, of course, plenty of Java applets
which will do this...

Nov 19 '05 #4
Thanks for your information.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sven Groot | last post by:
Using Outlook 2002 NL with all updates installed. I'm trying to open a backup pst file I have on CD. I have copied the file to my harddrive, made sure it's not read-only, am logged in as...
4
by: Yuri Vorontsov | last post by:
Hallo! We have troubles (post XP SP2) to open local folders from the web application: - the web application allows users to select a local file (input type=file) - the system DOES NOT upload...
4
by: lauren quantrell | last post by:
Is there a way to open the MS Outlook address book using VBA and then be able to do something with the return value? I want users to click an icon to open the Outlook address book then when an...
3
by: Aaron | last post by:
My application will only be used on windows based machines. I need to open a folder using UNC naming. i.e. \\server\share\folder I do not need to do anything programatically with the folder...
6
by: Daniel | last post by:
Hi all, Can i open and edit the excel sheet on web page after downloading? After editing, i close the web page and the excel file auto upload to the server. Is it possible? I really struggling...
0
by: Aaron | last post by:
I have two imagebuttons in my asp.net (I'm using vb.net) application. I need one of them to open a folder and one to open a file within the aforementioned folder. I am not sure which class...
0
by: Niyazi | last post by:
Hi, I created application that store the data in SQL SERVER that reside on network. The client also use this application to access the resources provided with application. But is the client want...
7
by: jonathandrott | last post by:
sorry newbie question probably. i'm trying to open an specific folder. open each file with in the folder individually and process each one. all the processing code has been written. i'm looking...
25
by: Andy_Khosravi | last post by:
I just recently changed my database that I'm running from a monolithic DB to a split FE/BE. The front end resides on the client machine and the BE resides on a network drive. I'm experimenting with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.