Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for the existance of a file
Message
De
21/05/2001 11:01:25
 
 
À
21/05/2001 09:18:34
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00509408
Message ID:
00509468
Vues:
20
This message has been marked as the solution to the initial question of the thread.
>Using ASP, can I check for the existing of a file in the same directory as the ASP page being loaded?

You can use the File System Object of WSH
dim oFSO
Set oFSO = CreateObject("Scripting.FileSystemObject")
if oFSO.FileExists("FileName") Then
   ' file exists
End If


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform