C#.NET reading remote host directory contents
- From: entee1@xxxxxxxxx
- Date: 17 Feb 2006 07:04:08 -0800
Hi all,
I am trying to create a webpage that reads in the name of a host from
the user and then attempts to read the contents of this host, in order
to search for a particular type of file.
So once i have the hostname, something like:
1. Attempt to access <host>\share\dir
2. If success, read thru directory listing looking for certain
filetypes.
3. If found, process these files. Then output something back to user.
The problem i have is step 1... anyone know if it's possible to get
that done in a nice way, and have a directory structure to look thru?
The hosts in question are all on a LAN, with user ids,passwords,shares
setup so that i know them in advance.
Thanks.
.
- Follow-Ups:
- Prev by Date: Re: Cleanest syntax to logically AND multiple nullable boolean fla
- Next by Date: C# - Interface EVent Question
- Previous by thread: Linking Forms Dynamically
- Next by thread: Re: C#.NET reading remote host directory contents
- Index(es):
Relevant Pages
|