Maybe try to CFFILE COPY, to a temp area, is successful display the image,
if not dont....The you can CFFILE DELETE to clean up the temp.

Adrian

-----Original Message-----
From: Ray Bujarski [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 1:59 PM
To: CF-Talk
Subject: Roadblock!! file permissions


I am trying to display a image of employees belonging to a director.
Some of the images exists, some of them don't, some of the images exist
without read permissions due to the employee not wanting their picture
shown.
How can test the permissions of this file?  FileExist(/photo/11.jpg)
returns true for those without read permissions.
I tried reading the file via cffile, but that doesn't work because it will
just terminate processing.
I tried to jimmy rig the reading by cftry where I set a variable in the
catch. Doesn't work.
I tried to use cfexecute with the ls command (unix os) but it can't
recognize the ls command


Ray Bujarski
858-845-7669
858-636-9900 pgr
[EMAIL PROTECTED]

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to