BUG: Error Message 550 <Filename>: The Process Cannot Access the File Because It Is Being Used by Another Process (238644)
The information in this article applies to:
- Microsoft Internet Information Server 4.0
This article was previously published under Q238644 SYMPTOMS
When trying to rename a file immediately after uploading it to a Microsoft FTP server, the following error message might appear:
550 <filename>: The process cannot access the file because it is being used by another process
RESOLUTION
The only known solution to this problem is to retry the operation until the internal lock is released and the operation succeeds. The following is an example of how to retry the operation programmatically using WinInet API calls:
while(!FtpRenameFile (hConnect,szFirstFile, szSecondFile))
{
dError=GetLastError();
if(dError==12003)
{
Sleep(25);
}
else
{
// A legitimate error has occurred, insert handler
break;
}
}
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/24/2003 |
---|
Keywords: | kbbug kbFTP kbpending KB238644 |
---|
|