Microsoft KB Archive/899679

= You receive a &quot;Rename Temp File calloc:File exists&quot; error message when you try to download a file by using the FTP GET command in Windows Server 2003 =

Article ID: 899679

Article Last Modified on 10/11/2007

-

APPLIES TO

 Microsoft Windows Server 2003 SP1, when used with:  Microsoft Windows Server 2003, Web Edition

 Microsoft Windows Server 2003, Standard Edition (32-bit x86)

 Microsoft Windows Server 2003, Enterprise Edition

 Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems</li></ul> </li> Microsoft Windows Server 2003, Enterprise x64 Edition</li></ul>

-

<div class="notice_section">

<div class="symptoms_section">

SYMPTOMS
Consider the following scenario:
 * A computer is running Microsoft Windows Server 2003 with Service Pack 1.
 * You try to download a file by using the FTP GET command on this computer.
 * You specify the destination drive and the directory in the FTP GET command.
 * The destination drive that you specify is a different drive than the drive from which you run the FTP GET command.

In this scenario, you receive the following error message:

Rename Temp File calloc:File exists

Note You receive this error message after the file appears to be successfully downloaded.

The temporary file that is created during the download process is deleted. Therefore, you cannot successfully download the file by using the FTP GET command.

<div class="resolution_section">

Service pack information
To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

Prerequisites
Windows Server 2003 Service Pack 1 (SP1) is required to install this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

Restart requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Windows Server 2003, x86-based versions
<pre class="fixed_text">  Date         Time   Version            Size    File name --  26-May-2005  00:46  5.2.3790.2453      46,080  Ftp.exe

Windows Server 2003, Itanium-based versions
<pre class="fixed_text">  Date         Time   Version            Size    File name    Platform 26-May-2005 16:55  5.2.3790.2453     117,248  Ftp.exe          IA-64 26-May-2005 16:55  5.2.3790.2453      46,080  Wftp.exe         x86

Windows Server 2003, x64-based versions
<pre class="fixed_text">  Date         Time   Version            Size    File name --  26-May-2005  16:55  5.2.3790.2453      65,536  Ftp.exe 26-May-2005 16:55  5.2.3790.2453      46,080  Wftp.exe

<div class="workaround_section">

WORKAROUND
To work around this problem, use the FTP LCD command in the FTP session to change the working directory to the destination directory before you run the GET command. For example, to successfully download the file by using FTP, follow these steps:
 * 1) At a command prompt, type ftp , and then press ENTER.

is the URL of your FTP site.
 * 1) Type lcd d:\, and then press ENTER.

D:\ is the destination directory where you want to copy the file.
 * 1) Type get , and then press ENTER.

is the name of the file that you want to download from the FTP site.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Windows Server 2003 Service Pack 2.

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver kbwinserv2003sp2fix KB899679

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.