How To Install FTP client on Linux server and commands to connect to ftp server
When you are trying to connect to ftp server you are getting error lftp: command not found this is means that your ftp client not installed on linux . To solve the issue you have to install the FTP client on your Linux
How to install FTP Client on Linux
To install the FTP its quite simple just login to your server using pUTTY as root account and run the following command:
Commands to connect to FTP server using lftp
In this exmaple we are going to connect to FTP server name:FTP-SERVER-IP with user:ftp-username , from SSH pUTTY run the following commands:
lftp connection error
Sometimes you tried to run command ls to display the list of the directories and files and you got an error Fatal error: Certificate verification: certificate common name doesn’t match requested host name ‘FTP-SERVER-IP’ to solve the error you have to disable ssl connection to the FTP Server by run the following command:
after this command you can now run the lftp commands successfully by passing the ssl certifcate.