Original Message
Subject: Re: CFFILE move is copying
From: Scott Brady dsbr...@gmail.com
Date: Fri, January 15, 2010 7:36 pm
To: cf-talk cf-talk@houseoffusion.com
Well, I tried to, but every time I submit the form (using FireFox on
Mac OS X), it says I haven't filled out forms I most
Actually, I found a way around it. I'm using the underlying Java file
reader (which is what I assume cfloop type=file uses) that also
includes a close() method that fixes it. I would think cfloop
would do that automatically once you exit the loop (whether upon the
end of the file or
Either way, you should write up all the details and some sample code and
submit it to Adobe.
http://www.adobe.com/go/wish
~Brad
Original Message
Subject: Re: CFFILE move is copying
From: Scott Brady dsbr...@gmail.com
Date: Fri, January 15, 2010 5:18 am
To: cf-talk cf-talk
wrote:
Either way, you should write up all the details and some sample code and
submit it to Adobe.
http://www.adobe.com/go/wish
~Brad
Original Message
Subject: Re: CFFILE move is copying
From: Scott Brady dsbr...@gmail.com
Date: Fri, January 15, 2010 5:18 am
To: cf
and ping Ben Forta or Adam Lehman.
~Brad
Original Message
Subject: Re: CFFILE move is copying
From: Scott Brady dsbr...@gmail.com
Date: Fri, January 15, 2010 7:36 pm
To: cf-talk cf-talk@houseoffusion.com
Well, I tried to, but every time I submit the form (using FireFox on
Mac OS X
: Re: CFFILE move is copying
From: Scott Brady dsbr...@gmail.com
Date: Tue, January 12, 2010 3:46 pm
To: cf-talk cf-talk@houseoffusion.com
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
Basically, if I'm writing to the badFiles location, I have almost
invariably broken out of a cfloop file=whatever loop before
reaching the end of the file (using cfbreak). Is it possible that
ColdFusion still has a lock on the file and, therefore, can't delete
it? (I'm thinking this may be
What about firing off another thread to delete it after X amount of time?
Or maybe not deleting it right away, and instead adding the file to a
list, and then moving/deleting the list at the end (maybe with a
sleep() first?)
--
Dogs and philosophers do the greatest good and get the fewest
if it is a delete permissions error.
~Brad
Original Message
Subject: Re: CFFILE move is copying
From: Scott Brady dsbr...@gmail.com
Date: Tue, January 12, 2010 3:46 pm
To: cf-talk cf-talk@houseoffusion.com
That's probably it -- though, I guess I'd expect an error to result. I
guess
I'm using ColdFusion 9 on Windows with Apache 2 (in case that matters)
and am trying to do a basic cffile action=move but it appears to be
copying rather than moving (i.e., the file is now in both the source
and destination folders). Does anyone know what could cause that?
Here's my cffile tag:
I'm using ColdFusion 9 on Windows with Apache 2 (in case that matters)
and am trying to do a basic cffile action=move but it appears to be
copying rather than moving (i.e., the file is now in both the source
and destination folders). Does anyone know what could cause that?
Here's my cffile
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
. 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 dsbr
Subject: Re: CFFILE move is copying
From: Scott Brady dsbr...@gmail.com
Date: Tue, January 12, 2010 3:46 pm
To: cf-talk cf-talk@houseoffusion.com
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
14 matches
Mail list logo