sftp mget get -r lcd lpwd !
sftp connection example
sftp -oIdentifyFile=file.id user@sftp.name.com:/path/path
Downloads files recursively including subfolders
get -r *
sftp -oIdentifyFile=file.id user@sftp.name.com:/path/path
-i identity_file | Selects the file from which the identity (private key) for public key authentication is read. This option is directly passed to ssh. |
get -r *
The ‘!‘ command drop us in local shell from where we can execute Linux commands. Type ‘exit‘ command where we can see sftp> prompt return.
Comments
Post a Comment