[ic] Testing if file is Directory or File within content section of page?

Mike Heins mike at perusion.com
Mon Aug 8 15:13:01 EDT 2005

Quoting Tim Good (tim.g at edsd.com):
> Hello,
> I was wondering if there is a way to do a test on a file
> to see if it is a directory or a file within a page. I 
> have the folling code but it returns error because of safe
> mode:

We had a thread like this over the weekend...you can do in interchange.cfg:

	SafeUntrap ftdir

That allows the -d test.

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

When the only tool you have is a hammer, all your problems tend to look
like nails.  -- Abraham Maslow

More information about the interchange-users mailing list