no, you have to wait until cf has finished with the file, if you are trying
to delete immediately afterwards then that is probably why.
You should either try adding a delay, or simply add the images to a list
and setup a scheduled task that comes and deletes the files in that list
later on.
On
How can I program it to unlock as soon as it has been re sized or
cropped?
It depends on what is locking it. As a test maybe have CF immediately
resize another test image after re-sizing the target image and then see if
you can delete the target image.
Dennis Powers
UXB Internet - A website
Just to add a bit.
This is not limited to just CFimage. CF file functions and tags exhibit the
same behavior. Although, in my experience has been better with version 9+.
Seems like CF is a bit asynchronous with writing files. So a file write,
immediately followed by another file action like
the file is probably still locked. how long have you waited before trying
to delete it ?
On Tue, Aug 19, 2014 at 10:57 PM, te...@it-werks.com te...@it-werks.com
te...@it-werks.com wrote:
Cannot delete an image after using cfimage unless I stop and restart the
Coldfusion Application server.
no, you have to wait until cf has finished with the file, if you are trying
to delete immediately afterwards then that is probably why.
You should either try adding a delay, or simply add the images to a list
and setup a scheduled task that comes and deletes the files in that list
later on.
On
Cannot delete an image after using cfimage unless I stop and restart the
Coldfusion Application server. Is there a setting I am missing?
~|
Order the Adobe Coldfusion Anthology now!
the file is probably still locked. how long have you waited before trying
to delete it ?
On Tue, Aug 19, 2014 at 10:57 PM, te...@it-werks.com te...@it-werks.com
te...@it-werks.com wrote:
Cannot delete an image after using cfimage unless I stop and restart the
Coldfusion Application server.
7 matches
Mail list logo