Checking file existence

Results 1 to 2 of 2

Thread: Checking file existence

  1. #1
    Luis Paulo Guest

    Default Checking file existence

    In my site, several images are displayed and changed everyday. But some of the images may be missing. How to make the ASP code check for the image files existence and, if the files really aren´t on the server, then display a default image?

  2. #2
    Brad Kingsley Guest

    Default RE: Checking file existence

    You can use the FileSystemObject to check for a file - that is going to be very disk intensive though if you check for every single file before loading it.<BR><BR>-Brad Kingsley, MCP - NT, IIS4<BR>Reliable Windows NT Web Hosting<BR>ORCS Web, Inc -<BR>

Posting Permissions

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