-------------Connecting SFTP:
--------------[root@tecmint ~]# sftp tecmint@27.48.137.6
Connecting to 27.48.137.6...
tecmint@27.48.137.6's password:
sftp>
Getting Help:
------------sftp> ?
Available commands:
cd path
lcd path
chgrp grp path
chmod mode path
chown own path
help
get remote-path [local-path]
lls [ls-options [path]]
ln oldpath newpath
lmkdir path
lpwd
ls [path]
lumask umask
mkdir path
put local-path [remote-path]
pwd
exit
quit
rename oldpath newpath
rmdir path
rm path
symlink oldpath newpath
version
!command
!
?
Download Files:
--------------sftp> get SettlementReport_1-10th.xls
Fetching /tecmint/SettlementReport_1-10th.xls to SettlementReport_1-10th.xls
sftp> mget *.xls
Switching Directories:
---------------------sftp> cd test
sftp>
sftp> lcd Documents
Create Directories:
------------------sftp> mkdir test
sftp> lmkdir Documents
Remove Directories:
------------------sftp> rm Report.xls
sftp> rmdir sub1