Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error processing CFFILE Unable to move file x to path.

New Here ,
Apr 18, 2011 Apr 18, 2011

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?

548
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 18, 2011 Apr 18, 2011
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources