Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP General
Test if file exists before displaying with XMLHTTP
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Slim, post: 4374900"] Set fso = CreateObject("Scripting.FileSystemObject") If (fso.FileExists(filespec)) Then msg = filespec & " exists." Else msg = filespec & " doesn't exist." End If if you do not know the physical path you can try this Set pc = Server.CreateObject("MSWC.PermissionChecker") pc.HasAccess(url) if you have permissions the file must exist I have not checked this, but its worth a try [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP General
Test if file exists before displaying with XMLHTTP
Top