Copy link to clipboard
Copied
Here is my system info:
server.ColdFusion.ProductLevel = Professional
server.ColdFusion.ProductName = ColdFusion Server
server.ColdFusion.ProductVersion = 5, 0, 0, 0
server.OS.AdditionalInformation = Service Pack 4
server.OS.BuildNumber = 2195
server.OS.Name = Windows NT
We randomly are getting the following:
Error processing CFFILE<P> Unable to move file 'C:\x\file.pdf' to path 'C:\y\file.pdf' . The process cannot access the file because it is being used by another process. (error 32)<p>The error occurred while processing an element with a general identifier of (CFFILE), occupying document position
Here is the code that it refers to as erroring:
<cffile action="Move" source="#sourceFileName#" destination="#failedFileName#" nameconflict="overwrite"></cfif>
Is the 'Move' code wrong?
Copy link to clipboard
Copied
The code is fine. You just have to figure out what the other process is, decide what you want to do about it, and code accordingly.