Ftp.exe output cannot be redirected to a file in Windows Vista or in Windows Server 2008
You use FTP.exe to manipulate files over FTP on a computer that is running Windows Vista or Windows Server 2008. When you try to redirect the FTP output to a file, nothing is redirected.
For example, you run the following command to redirect the FTP output to a file:
ftp -i -s:ftpput.txt > result.txt
When you open the output file, you see content that resembles the following text:
220 FTP Server Version 2.0
331 User name ok, need password
230 User logged in
200 PORT command successful.
150 File status OK ; about to open data connection
226 Closing data connection; File transfer successful.
221 Service closing control connection
In this redirected content, the FTP message is missing in the “0.190.09bye ******” line.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB2548554.