Check if file exists?!

Results 1 to 3 of 3

Thread: Check if file exists?!

  1. #1
    Join Date
    Dec 1969

    Default Check if file exists?!

    Hi<BR><BR>Is there anu function in ASP that can check if a file exists. What I want to do is to view a product image if it is uploaded and show a transparent image if there is no product image. Something like this<BR><BR>If fileexists = (prodid & ".gif") Then<BR>Response.Write "this is the image" &#039show image<BR>Else <BR>Response.Write "no prodimage" &#039show transparent image<BR>End if<BR><BR>Thanks in advance/Fredrik<BR><BR>

  2. #2
    KPW Guest

    Default RE: Check if file exists?!

    Do some research on FileSystemObject.<BR><BR>HTH

  3. #3
    Join Date
    Dec 1969

    Default ASPFAQs and FileSystemObject topics

    Link to the ASPFAQs is at the top right of this page (and every page).<BR><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