Re: CFFILE move is copying

2010-01-16 Thread Scott Brady
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

Re: CFFILE move is copying

2010-01-15 Thread Scott Brady
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

RE: CFFILE move is copying

2010-01-15 Thread brad
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

Re: CFFILE move is copying

2010-01-15 Thread Scott Brady
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

RE: CFFILE move is copying

2010-01-15 Thread brad
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

2010-01-14 Thread Scott Brady
: 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

Re: CFFILE move is copying

2010-01-14 Thread Dave Watts
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

Re: CFFILE move is copying

2010-01-14 Thread denstar
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

Re: CFFILE move is copying

2010-01-13 Thread Scott Brady
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

CFFILE move is copying

2010-01-12 Thread Scott Brady
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:

Re: CFFILE move is copying

2010-01-12 Thread Dave Watts
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

Re: CFFILE move is copying

2010-01-12 Thread Scott Brady
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

RE: CFFILE move is copying

2010-01-12 Thread brad
. 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

Re: CFFILE move is copying

2010-01-12 Thread Scott Brady
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