Access the FTP server from the Windows command prompt



RECOMMENDED: Click here to fix Windows errors and optimize system performance

Previously, we used FileZilla Client, a free FTP client for Windows that can be used to access and transfer files to your FTP server. We also saw how we could access the FTP server with NotePad++, a Notepad alternative for Windows. In this post, we will discuss how to access FTP from the command prompt.

The Windows command prompt allows access to the server via the FTP command. Once connected to your server, you can transfer files from and download files from your PC by simply using commands. I will also list some of the FTP commands that will be useful over time.

Accessing FTP servers from the command prompt

Here are the steps that will show you how to use FTP from the command prompt:



September 2020 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



Step1 : Start the command prompt and change the directory where all your files are located. Because this is where you can move your files on the server and upload them in the same folder.

Step2 : Enter command

ftp domain name

Example : ftp azharftp.clanteam.com

Step 3 : Enter user name and password.

Step 4: You see the connection configuration. You can now perform actions on the server.

These are the FTP commands:

You can use the help to get the complete list of FTP commands. This command does not require a connection to a remote system.

  • Help: Requests a list of all available FTP commands.
  • ascii : to activate Ascii mode.
  • status: to see how the current FTP session is configured.
  • prompt: to activate and deactivate the interactive mode.
  • ls : directory listing equivalent to you.
  • ls -l : long directory list, more details.
  • pwd : Display current directory name
  • cd : Change directory.
  • lcd : changes the local current directory.
  • get: download the file from the FTP server.
  • put : file to server.
  • mget : download multiple files from the FTP server.
  • mput : upload multiple files to the FTP server.
  • binary : to activate binary mode.
  • Delete: delete any file on the FTP server.
  • mkdir : to create a directory on the FTP server.
  • ascii: Sets the file transfer mode to ASCII (Note: This is the default mode for most FTP programs).
  • quit/close/bye/disconnect : Disconnect from FTP server.
  • The prefix of an exclamation point command causes the command to be executed on the local system instead of the remote system.

Upload a file to the server

To download a file, enter the command :

put filename

Now you can see the downloaded file by entering the URL :

Let me know if you have any questions.

Read More : Add network location, FTP cartographic drive under Windows.



RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance

Related Video