I would check permissions too.  CF might have permissions to write and
read, but not delete.

If this was the case though, I would expect there to be an error.

As a debugging measure, you could dump out the contents of a cfdirectory
right after moving the file and see if the file exists.  It is possible
some other process is writing the file back in a minute later before you
are looking.  Also, trying a straight-up delete with cffile will show
you if it is a delete permissions error.

~Brad

-------- Original Message --------
Subject: Re: CFFILE move is copying
From: Scott Brady <[email protected]>
Date: Tue, January 12, 2010 3:46 pm
To: cf-talk <[email protected]>


That's probably it -- though, I guess I'd expect an error to result. I
guess I can try deleting after the move -- not a solution, but it
might tell me if the file is locked. (It's just a text file, so not
much should be locking it)

Scott

On Tue, Jan 12, 2010 at 2:24 PM, Dave Watts <[email protected]> wrote:
>
> Well, a move is basically just a copy followed by a delete. So maybe
> CF can't delete the file? Maybe it's locked by CF itself, preventing
> it from being deleted.
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329601
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to