[RESOLVED] [2005] Alternative to System.IO.Directory
Im trying to get a list of .htm files on another web server. The web server with the files is on the same Intranet as the webserver that needs the file listing, but it isnt mapped and shouldnt be mapped to the server that needs the listing.
Right now my program uses Directory.GetFiles() to get file listings on the same server as the webpage, but it doesnt accept URI formats.
Does anyone know of a way that I can crawl a directory or get a listing from another server? I tried googling but thats all advertisements and msdn didnt turn up anything.
I dont want to keep track of it in an xml file or write a script to keep a sitemap. If its not possible to just search the directory then forget it, this is really to make the user interface a little easier.
Re: [2005] Alternative to System.IO.Directory
If the file names are exposed via directory browsing, some sort of a sitemap, etc. then you can do it. Otherwise, you can't, since it's not like viewing a folder on an operating system where everything is visible.
Re: [2005] Alternative to System.IO.Directory
yea thats what i was thinking, just needed confirmation on it thanks.