First I would check the obvious and verify permissions, you just never
know.

Is this anything like a directory on a file share? Could just be an
availability thing then.

Anything new outside of code changes? Patches? Other new software installed
on the server?

Any other software or process possibly locking the directory? Virus
scanning? Some other new code unrelated? Is the directory growing and now
has a large number of files or directories, Windows doesn't like that so
much pre 2008.

My first instinct says that another process is doing something occasionally
to the directory or files.

Might be good to see some code and what version you are on. Are sandboxes
in use?

I have seen things like creating a file or directory via CF and then
accessing that in the next few lines it doesn't exist yet, but that was
previous versions, have not seen that with 10±.

Byron Mann
Lead Engineer & Architect
HostMySite.com
On Jun 13, 2014 6:38 PM, "Tim Do" <[email protected]> wrote:

>
> I have some code that's been working for years, but recently starting to
> act strange.
>
> Simple cfdirectory looking in a particular folder and listing out some
> files. Users are saying there are files in there and when I go in and
> check, there are! Cfdirectory returns me 0, no errors and DirectoryExists
> returns no. The strange thing is that nothing changes then suddenly half hr
> or hr later it starts to see it again. I can't imagine it being a
> permissions issue since it works intermittently. Any ideas? Thanks in
> advance...
>
> ________________________________
> Sample disclaimer text
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358732
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to