美文网首页Python深度学习
004 Send and Receive Files on Se

004 Send and Receive Files on Se

作者: panorama | 来源:发表于2019-04-18 11:36 被阅读0次

    Login

    $ sftp user@ip
    

    Local work directory and server work directory

    $ pwd
    $ lpwd
    

    Send and receive files

    $ put file.txt
    $ get file.txt 
    

    Copy a directory and all of its contents by specifying the recursive option, maintain the appropriate permissions and access times by using the "-P" or "-p" flag

    $ get -Pr someDirectory
    

    Exit

    $ exit
    $ ctr + d
    

    相关文章

      网友评论

        本文标题:004 Send and Receive Files on Se

        本文链接:https://www.haomeiwen.com/subject/xxuzwqtx.html