CF-Pros:

Are there any issues with using Ray Camden's FileRead UDF inside a loop ?

In the code (slightly modified from original version) appended below, I'm
using the "CF_DIRECTORYLIST_ENHANCED" custom tag to collect directory
information, and then want to search each individual file name returned by
the query for a particular string, which if found, increments a counter.

When I take the code out of the first loop, the one that feed the directory
path and filename to process, the UDF runs as expected.

When this program is run, it spikes the CPU to 100%, stalling out
everything. Since this is a straight forward process (or at least, should
be), can anyone point out what I'm doing incorrectly or missing.

All help and advise will be much appreciated !

Thank you.

-Gerry

Gerard T. Pauline
Mgr, Internet Applications &
University WebMaster
Computer Systems, DoIT
Pace University


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to