Search

How to login to a FTP Server using Windows Command-line FTP Client

Windows Command-line FTP Client is another option to login to an FTP Server to transfer files. It has many useful commands to manage file transfer related tasks.

Following steps explain how to login to an FTP Server using Windows Command-line FTP Client.

Step 1 - Open PowerShell by searching for PowerShell at Windows search box and then clicking on the PowerShell App from the search results. Type "ftp" in PowerShell console and press "Enter" key as shown below.

windows-command-line-ftp-client-01.jpg

Step 2 - Type "open" and then the IP address of the FTP Server as shown below. Press "Enter" key to continue.

windows-command-line-ftp-client-02.jpg

Step 3 - Login banner will be displayed as shown below.

windows-command-line-ftp-client-03.jpg

Step 4 - Type the username which is already created at the FTP Server, as shown below. Press "Enter" key to continue.

windows-command-line-ftp-client-04.jpg

Step 5 - Type the password of the user at FTP Server. Password will not be displayed at the PowerShell console. Press "Enter" key to continue.

windows-command-line-ftp-client-05.jpg

Step 6 - If the username and password are correct and the user has permission to login at the FTP Server, user will be logged in to the FTP Server, as shown below.

windows-command-line-ftp-client-06.jpg

Step 7 - To run a FTP command, type the command and press "Enter" key. For example, "dir" command to list the contents of the folder, type "dir", and press "Enter" key. The contents of the folder will be displayed as shown below.

windows-command-line-ftp-client-07.jpg

Step 8 - Now, if you are not sure about different FTP commands, type "help" and press enter to display different FTP commands, as shown below.

windows-command-line-ftp-client-08.jpg

Step 9 - When your file operations are completed and if you want to get out of Windows FTP Client command-line console, type "quit" and press "Enter" key to quit Windows FTP Client command-line console, as shown below.

windows-command-line-ftp-client-09.jpg

Step 10 - Now you are back to Windows PowerShell console.

windows-command-line-ftp-client-10.jpg

Related Tutorials
What is FTP (File Transfer Protocol)
Important RFCs related with FTP
What is anonymous FTP
FTP Active vs Passive modes
Different types of FTP Client software
How to use FTP Active mode in FileZilla Client
FTP Commands
FTP Response Codes
Important commands in Windows command-line FTP client
How FTP works
Why FTP is not secure
Differences Between FTPS and SFTP
How to install FileZilla FTP Server
How to add a user in FileZilla FTP Server
How to add anonymous user account in FileZilla FTP Server
How to configure TLS (FTPS) in FileZilla FTP Server
Difference between Require explicit FTP over TLS and Require implicit FTP over TLS
How to install FileZilla FTP Client
How to login to a FTP Server using FileZilla FTP Client
FileZilla Site Manager