File Access Component

Results 1 to 3 of 3

Thread: File Access Component

  1. #1
    Ryan Hartos Guest

    Default File Access Component

    Does anyone know how to detect if a file is present in a virtual directory? I want to be able to display an image if it is present, but if not ignore the <img src... code.

  2. #2
    Join Date
    Dec 1969

    Default RE: File Access Component

    You can use scripting.FileSystemObject to do that.<BR><BR>set objFileSys = Server.CreateObject("Scripting.FileSystemObject")< BR>if (objFileSys.FileExists("filename")) then<BR> ---&#062; File exists<BR>else<BR> ---&#062; File does not exist<BR>endif<BR><BR>Hope this helps.<BR>Kal<BR>

  3. #3
    vijay Guest

    Default RE: File Access Component

    how use <BR>use id <BR>password<BR>for my web pages

Posting Permissions

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