Question
Coldfusion locking files when I upload then I can't delete
I have been having a problem deleting images for a while now.
Everytime I upload a file with cffile I am unable to delete it for
an unknown amount of time. I cant delete it with cffile delete or
even delete it on the server manually. Its not a permissions issue
because I can delete other files in the folder. Just the ones that
were uploaded recently cannot be deleted or renamed. I ran the
process explorer and it was telling me that jrun.exe had a handle
on the picture names that were not able to be deleted. Is there a
way to tell jrun.exe to relese the photo before deletion?
Process Explorer Window
Process PID Type Handle or DLL
jrun.exe 111580 Handle C:\Inetpub\www\website\photo i can not delete.jpg
Process Explorer Window
Process PID Type Handle or DLL
jrun.exe 111580 Handle C:\Inetpub\www\website\photo i can not delete.jpg