Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System.IO.File.Exists
Message
 
To
25/05/2005 16:11:47
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01017546
Message ID:
01017639
Views:
19
Correct, which is why I did the following:
////////////////////////////////
string s = "\\\\myserver\\data\\images\\myimage.jpg"; //will not find this

string lc_file1 = Server.MapPath(s) //Now it should find it

string lc_file2 = "c:\\media\\images\\myimage.jpg"; //this will be found
Give us some more information on the systems you're attempting this for...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform