Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System.IO.File.Exists
Message
 
À
25/05/2005 16:11:47
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01017546
Message ID:
01017639
Vues:
20
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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform