RE: File disappears after cffile rename

2007-10-22 Thread Manju Kiran P Pacchhipulusu
Hi Michael, Apparently on CF8, if the cffile.serverfile name and the newly assigned name var are the same, the file will get deleted when it fires the cffile rename. I tried this simple code and wasn't able to reproduce this issue. cffile action=RENAME source=C:\temp1.txt

File disappears after cffile rename

2007-10-18 Thread Michael E. Carluen
Has anyone experienced having a file literally disappear after a cffile action=rename ? This happens on CF8. but code works fine on 7.0.2. Any ideas? ~| Download the latest ColdFusion 8 utilities including Report

RE: File disappears after cffile rename

2007-10-18 Thread Michael E. Carluen
. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 3:09 AM To: CF-Talk Subject: File disappears after cffile rename Has anyone experienced having a file literally disappear after a cffile action=rename ? This happens on CF8. but code works fine on 7.0.2

RE: File disappears after cffile rename

2007-10-18 Thread Brad Wood
: Thursday, October 18, 2007 12:01 PM To: CF-Talk Subject: RE: File disappears after cffile rename I am still trying to wrangle this issue. cflock name=#CreateUUID()# type=exclusive timeout=30 throwontimeout=no cfset PAGE_clean_SERVERFILE = replace(cffile.SERVERFILE, ,_,all) cffile action=RENAME

RE: File disappears after cffile rename

2007-10-18 Thread Paul Vernon
cflock name=#CreateUUID()# type=exclusive timeout=30 throwontimeout=no cfset PAGE_clean_SERVERFILE = replace(cffile.SERVERFILE, , _, all) cffile action=RENAME source=cffile.SERVERFILE# destination=#PAGE_clean_SERVERFILE# /cflock Firstly, the CFLOCK as you have it is pointless.

RE: File disappears after cffile rename

2007-10-18 Thread Rick Faircloth
, October 18, 2007 1:01 PM To: CF-Talk Subject: RE: File disappears after cffile rename I am still trying to wrangle this issue. cflock name=#CreateUUID()# type=exclusive timeout=30 throwontimeout=no cfset PAGE_clean_SERVERFILE = replace(cffile.SERVERFILE, ,_,all) cffile action

RE: File disappears after cffile rename

2007-10-18 Thread Michael E. Carluen
. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 10:01 AM To: CF-Talk Subject: RE: File disappears after cffile rename I am still trying to wrangle this issue. cflock name=#CreateUUID()# type=exclusive timeout=30 throwontimeout=no cfset PAGE_clean_SERVERFILE

RE: File disappears after cffile rename

2007-10-18 Thread Michael E. Carluen
it happen. The lock just seemed to prevent that from happening. -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 11:11 AM To: CF-Talk Subject: RE: File disappears after cffile rename Issue solved. (Or perhaps a CF8 bug

RE: File disappears after cffile rename

2007-10-18 Thread Michael E. Carluen
To: CF-Talk Subject: Re: File disappears after cffile rename The lock just seemed to prevent that from happening. If it did, it cannot be for any logical reason. The purpose of named locks is to ensure that a program cannot lock under the name, if another lock with the same name is already

Re: File disappears after cffile rename

2007-10-18 Thread Claude Schneegans
The lock just seemed to prevent that from happening. If it did, it cannot be for any logical reason. The purpose of named locks is to ensure that a program cannot lock under the name, if another lock with the same name is already active. Using CreateUUID() to create a unique name, you just make