Article ID: 308482 - Last Review: June 23, 2005 - Revision: 1.1 You receive error code 425 when you use the NLST command from a command-line FTP clientThis article was previously published under Q308482 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
SYMPTOMS
When a client tries to use the FTP NLST command from the command-line FTP client, the client may receive the following message: The client may also receive the following error message: 425 Can't open data connection. CAUSEThis behavior occurs if the server successfully receives the NLST command, but the server cannot open a data connection to the client. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONWith
FTP commands such as NLST and LIST, the client must open a port to listen for an incoming data connection from the server. The command-line FTP client does not open a port. The default port is 20. When the server tries to connect to the client on the default port, the client does not have that port open. Therefore, the data connection is not successful, and the client receives the 425 error message. The following is a sample session from the command-line Ftp.exe: C:\>ftp server Connected to server. 220 usernt Microsoft FTP Service (Version 4.0). User (server:(none)): anonymous 331 Anonymous access allowed, send identity (e-mail name) as password. Password: 230 Anonymous user logged in. ftp> ls 200 PORT command successful. 150 Opening ASCII mode data connection for file list. 226 Transfer complete. ftp> literal nlst 150 Opening ASCII mode data connection for file list. ftp> literal nlst 425 Can't open data connection. 150 Opening ASCII mode data connection for file list. ftp> quit 425 Can't open data connection. C:\> 220 server Microsoft FTP Service (Version 4.0). user anonymous 331 Anonymous access allowed, send identity (e-mail name) as password. user@microsoft.com 230 Anonymous user logged in. nlst 150 Opening ASCII mode data connection for file list. 425 Can't open data connection. quit 221
| Article Translations
|
Back to the top
