ftp command line client - run multiple ftp commands in one line
Hi,
I would like to connect to my SFTP server using command line client.
I have just installed key so I dont need a password to login.
The problem is that I have to some ftp client in my backup script but I dont know which one can do this.
Is there any linux ftp client which can run a queue of tasks on SFTP server ?
I have found lftp but I dont know how to use it. Manual is not human readable.
I`m looking for something like this:
lftp -u ftp_user host_name -c mkdir first_folder mkdir second_folder mkdir third_folder
Someclient which can execute a lot of commands in one line.
Maybe somebody knows how to do it ?
|