|
Description
|
sftp(1) can be easily used just from a command line to download files:
sftp [options] [user@]host[:file1 [file1 [file | dir2]]
$ sftp localhost:/etc/group .
Connecting to localhost...
Fetching /etc/group to ./group
however, it cannot upload a file the same way. scp(1)'s protocol is quite simple (cannot handle ACL's, for example) and probably hard to extend in a compatible way so sftp(1) should be made as easily used from a command line as scp is.
$ sftp group localhost:/tmp
Connecting to group...
ssh: group: node name or service name not known
Connection closed
|