-
August 2nd, 2005, 10:35 AM
#1
Retrieving file names from a web directory
I have a web server that has a directory containing xml files.
I want to return to a GUI a list of the URLs for the files so that the user can select a xml file to load.
How on earth do you do it? any ideas? or even just the name of the class I should be using.
Last edited by zoltan_ie; August 2nd, 2005 at 10:42 AM.
-
August 2nd, 2005, 12:03 PM
#2
Re: Browsing file in a web directory
Use Directory.GetFiles() to get all of the file names under that directory and then concatenate the web server root directory and each file name (It depends on where your directory is) to get the urls.
Leo
-
August 3rd, 2005, 03:55 AM
#3
Re: Browsing file in a web directory
ok, sorry.
I forgot to say the application will not be running on the same network so that ain't gonna work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|