Click here to Skip to main content
15,913,027 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am writing a Windows application using VS2005 C# .NET 2.0 and I need to get a list of file names from a web site sub folder (in order to check if there is an updated database file to download). Can anyone give me a SIMPLE method as I have no experience of any web related programming. It would be useful if I could provide a search pattern such as "Databasexxxx.mdb". Many thanks to anyone who can help.
Posted

1 solution

where is your application going to run? are you trying to access web sites virtual folder from a remote location? do you have an access privilege to the machine/directory?

I am not sure what you trying to do, but you can not access virtual directory from remote machine with out proper credentials to the machine.

another way is to list/export all the files from the web application it self

see here and here and here

 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900