Is a file accessible?

Results 1 to 2 of 2

Thread: Is a file accessible?

  1. #1
    Join Date
    Dec 1969

    Default Is a file accessible?

    Hi,<BR><BR>I checked the FAQ, but didn&#039;t see an answer to my problem.<BR><BR>I have a file that I would like to display (call it a log file). However, this file is sometimes in use (being written to) by an external application. When I try to open the file in this case, I get the very ugly ASP error "Access Denied".<BR><BR>Is there any way to check to see if I will be able to open the file, prior to actually opening it? I hate ugly error messages.<BR><BR>Thanks in advance<BR>BM

  2. #2
    analyzer Guest

    Default RE: Is a file accessible?

    maybe you can capture the err.number and do something using it.<BR><BR>if err.number = "something" then<BR><BR> do something<BR><BR>end if

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts