Is there any way to do some type of fileExists with a URL. Or anyway to check for a file in an email?
----- Original Message ----- From: "Ben Forta" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Tuesday, December 06, 2005 11:09 AM Subject: RE: Using FileExists > FileExists() needs a file path, not a URL. > > > > -----Original Message----- > From: Chad McCue [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 06, 2005 11:08 AM > To: CF-Talk > Subject: Using FileExists > > I am sending an email out and need to check if the image is actually found > on the server, if not show a default image. This is what I am trying to do. > > Property Images is a Virtual Directory set up in IIS > > <CFIF > FileExists("http://www.somewebaddress.com/PropertyImages/Adirectory/AnotherD > irecotry/ImageFileName.jpg") > Show the Image <CFELSE> Default Image </CFIF> > > The problem is the FileExists never seems to work, my email always shows the > default image. > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226200 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

