How to FTP from command line:
If you need to transfer or retrieve data to or from your FTP account, you need to establish connection to the ftp account. This can be done simply using your local Windows or Linux system. Hence you can upload or download contents on your ftp account.
To connect to any FTP server from windows open the command prompt and for Linux open terminal window. Now you have required IP or Hostname of FTP server and login credentials to connect with specific user.
Use the command below to connect to the FTP account,
ftp <IP address or hostname >
Replace the field after ftp with the IP address or hostname of the ftp server. For example see the full command below,
Now it will connect to the ftp server and you need to login to the server using the ftp user name and password.
See the following sample output of the command,
ftp> [[email protected] ~]$ ftp 18.104.22.168 Connected to 22.214.171.124 (126.96.36.199). 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 06:28. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. Name (188.8.131.52:admin):
Now you need to enter the username of the ftp account after that it will ask for the password. After entering the password you can see the connection being established. Now you are allowed to perform actions on your files on the sever.
If you need our help to fix any issues on your server. Please feel free to contact us, simply email to [email protected]