sftp a directory code example
Example: sftp local directory
# Connexion to default port 22
sftp your_user@your_server_ip_or_remote_hostname
# SFTP local file list
sftp> lls
# SFTP remote file list
sftp> ls
# Connexion to default port 22
sftp your_user@your_server_ip_or_remote_hostname
# SFTP local file list
sftp> lls
# SFTP remote file list
sftp> ls