thats what I was getting it...it will still error so a lock is not the
solution to an already locked file, rather a precaution for future use - and
in this instance there is a change a lock may be released and retaken before
the file has been released itself.

-----Original Message-----
From: webguy [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2003 15:15
To: CF-Talk
Subject: RE: CFFILE Delete & Rename problems


No. But it will try to ensure your lock has exclusive access to the file and
timeout after the time you specify.
Without the lock it will try to delete the file and immediately return with
an error.

WG


-----Original Message-----
From: "Robertson-Ravo [mailto:"Robertson-Ravo]
Sent: 12 February 2003 15:01
To: CF-Talk
Subject: RE: CFFILE Delete & Rename problems


If the file is being used by another process, would a lock release that use
and free it up or will the lock fail as well?

-----Original Message-----
From: webguy [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2003 15:02
To: CF-Talk
Subject: RE: CFFILE Delete & Rename problems


Any chance that the file is still being used be anthor process?
Have you cflock 'ed the file delete?

WG

-----Original Message-----
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2003 14:37
To: CF-Talk
Subject: RE: CFFILE Delete & Rename problems


The file exists.... If I cut and paste the string into explorer on the
server it loads the file without a problem....



-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:33 AM
To: CF-Talk
Subject: RE: CFFILE Delete & Rename problems


Did you do a fileExists() before the rename to ensure the file actually
exists?

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc

Email    : [EMAIL PROTECTED]
WWW      : www.camdenfamily.com/morpheus
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: Kris Pilles [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 8:30 AM
> To: CF-Talk
> Subject: CFFILE Delete & Rename problems
>
>
> Ok. I have given the CF service Administrator rights
> temporarilly to try to figure out why CFFIle is not working...
>
>
> <CFFILE ACTION="Rename"
>     SOURCE="c:\inetpub\wwwroot\wand\datafiles\#cname#\#DirList.name#"
>
> DESTINATION="c:\inetpub\wwwroot\wand\datafiles\#cname#\#DirLis
> t.name#.ol
> d"
> >
>
> All that I want to do is use the above rename command and it
> returns the following error:
>






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to