473,386 Members | 1,720 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,386 software developers and data experts.

Displaying Windows Folders/Files on a Standard Web Page

It would suffice to state, I am very new to the .NET world, as well as
to Visual Studio, Visual C#, and ASP.NET. Nonetheless, I'm certain
the solution to several challenges I've presented myself lie therein.

I am currently tasked with creation of a Web page, the content of which
will be a list of Windows folders. A subsequent page will display a
list of files within a selected folder.

The folders on the first page are named for each employee within a
department. Each folder is accessible only by the employee for which
the folder is named.

Within the employee's folder are contained report files (MS Word
..docs, .pdf files, whatever), a list of which are the content of the
second page.

Is it somehow possible to "read" the Windows directory structure,
retrieve and subsequent write the names of the employees'
subdirectories (folders) contained within, and then list the files
within any selected employee folder?

Any clues would be greatly appreciated. Thank you in advance.

Nov 19 '05 #1
2 1406
Look up the DirectoryInfo class. That should help you out.

http://msdn.microsoft.com/library/de...ClassTopic.asp
"D Wright" <dw*****@dwtele.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
It would suffice to state, I am very new to the .NET world, as well as
to Visual Studio, Visual C#, and ASP.NET. Nonetheless, I'm certain
the solution to several challenges I've presented myself lie therein.

I am currently tasked with creation of a Web page, the content of which
will be a list of Windows folders. A subsequent page will display a
list of files within a selected folder.

The folders on the first page are named for each employee within a
department. Each folder is accessible only by the employee for which
the folder is named.

Within the employee's folder are contained report files (MS Word
.docs, .pdf files, whatever), a list of which are the content of the
second page.

Is it somehow possible to "read" the Windows directory structure,
retrieve and subsequent write the names of the employees'
subdirectories (folders) contained within, and then list the files
within any selected employee folder?

Any clues would be greatly appreciated. Thank you in advance.

Nov 19 '05 #2
Apparently you are talking about server-side folders. There is the whole
bunch of classes in System.IO namespace. Read about them and use them.

Eliyahu

"D Wright" <dw*****@dwtele.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
It would suffice to state, I am very new to the .NET world, as well as
to Visual Studio, Visual C#, and ASP.NET. Nonetheless, I'm certain
the solution to several challenges I've presented myself lie therein.

I am currently tasked with creation of a Web page, the content of which
will be a list of Windows folders. A subsequent page will display a
list of files within a selected folder.

The folders on the first page are named for each employee within a
department. Each folder is accessible only by the employee for which
the folder is named.

Within the employee's folder are contained report files (MS Word
.docs, .pdf files, whatever), a list of which are the content of the
second page.

Is it somehow possible to "read" the Windows directory structure,
retrieve and subsequent write the names of the employees'
subdirectories (folders) contained within, and then list the files
within any selected employee folder?

Any clues would be greatly appreciated. Thank you in advance.

Nov 19 '05 #3

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

Similar topics

2
by: WIWA | last post by:
I'm looking for SNMP support in Python. I have found pySNMP, but I'm not sure whether this works under Windows as well. A few questions: 1) Where do I need to install the pySNMP files? 2) What...
3
by: Web Webon | last post by:
Hi everybody! I wonder if this is possible? I need to determine if a client is using "windows classic folders" or anything else. If I instantiate a Shell ActiveX object is there a way of...
3
by: Dalan | last post by:
At first I was not certain what could cause Access 97 from displaying most jpeg images, but not all. After further testing, it seemed that all original images of less than 275 pixels per inch or...
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
3
by: Blue Streak | last post by:
SFX: Banging head against wall... *Thud! Thud! Thud!* Hello, folks. I am trying to get a web application to work on a Windows Server 2003 (standard edition) Intranet server. It uses...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
1
by: =?Utf-8?B?c3Nhcjk=?= | last post by:
I have two folders in inetpub/wwroot. One has all HTML code, the other has HTML & ASP pages. The pure HTML files show up in IE6 just fine. The other pages just say done with a blank page. I had...
2
by: =?Utf-8?B?SnJ4dHVzZXIx?= | last post by:
I just started using Windows Live OneCare, I had been using Norton, but was unable to fix the problems I was having. I have yet been unsuccessful with OneCare as well. I keep getting the same...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.