Implement some commands for ftp client.