Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for the existance of a file
Message
From
21/05/2001 11:01:25
 
 
To
21/05/2001 09:18:34
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00509408
Message ID:
00509468
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform