Tools
Connect to the FTP client using the Windows command line
This article provides procedures on using the Windows command prompt to connect to an FTP server.
First published date
Last published date
Overview
Product section
Resolution
- Click Start, select Run, and then enter
cmdto give you a blankc:\>prompt. - Enter
ftp. - Enter
open. - Enter the IP address or domain that you want to connect to.
- Enter your user name and password when prompted.
You can now send FTP commands to the server.
Some common commands used by the command line client are Put, Get, Dir, and CD. The following example shows a Windows command prompt to connect to an FTP server:
C:\>ftp ftp> open To 127.0.0.1 Connected to 127.0.0.1. 220 Serv-U FTP Server v4.2 for WinSock ready... User (127.0.0.1:(none)): user_name 331 User name okay, need password. Password:your_password 230 User logged in, proceed. ftp> dir
Since FTP is a Microsoft utility, and cannot be covered in any detail here, it is recommended you refer to Microsoft's own documentation for complete information: How to Use the FTP utility in a typical session (© Microsoft 2020, obtained on January 21, 2020).