zoukankan      html  css  js  c++  java
  • 在xshell中使用sftp上传文件

    Xshell 5 (Build 1335)
    Copyright (c) 2002-2017 NetSarang Computer, Inc. All rights reserved.

    Type `help' to learn how to use Xshell prompt.
    [c:~]$

    Connecting to 111.231.72.95:22...
    Connection established.
    To escape to local shell, press 'Ctrl+Alt+]'.

    Your current local directory is
    C:UsersJasonDocumentsNetSarangXshellSessions

    Type `help' to browse available commnands.
    sftp:/usr/local/tomcat/webapps> help
    bye          finish your SFTP session
    cd         change your remote working directory
    clear  clear screen
    exit       finish your SFTP session
    explore   explore your local directory
    get       download a file from the server to your local machine
    help     give help
    lcd       change and/or print local working directory
    lls         list contents of a local directory
    lpwd        print your local working directory
    ls            list contents of a remote directory
    mkdir     create a directory on the remote server
    mv         move or rename a file on the remote server
    put         upload a file from your local machine to the server
    pwd       print your remote working directory
    quit        finish your SFTP session
    rename  move or rename a file on the remote server
    rm       delete a file
    rmdir   remove a directory on the remote server
    sftp:/usr/local/tomcat/webapps> lcd D:puman工作文档扑满自己的crm
    sftp: cannot change local directory to D:puman工作文档扑满自己的crm
    sftp:/usr/local/tomcat/webapps> lcd D:puman
    Local directory is now D:puman
    sftp:/usr/local/tomcat/webapps> put crm_protype1116
    sftp: cannot open D:pumancrm_protype1116 to read
    sftp:/usr/local/tomcat/webapps> put crm_protype1116.zip
    Uploading crm_protype1116.zip to remote:/usr/local/tomcat/webapps/crm_protype1116.zip
    sftp: sent 5.97 MB in 1.94 seconds
    sftp:/usr/local/tomcat/webapps>

  • 相关阅读:
    - > 听学姐讲那过去的故事——打代码的小女孩
    - > 强烈推荐!!!
    - > 贪心基础入门讲解五——任务执行顺序
    - > 贪心基础入门讲解二——活动安排问题
    - > 贪心基础入门讲解三——活动安排问题二
    - > 贪心基础入门讲解四——独木舟问题
    django装饰器
    POJ——T2421 Constructing Roads
    洛谷——P3258 [JLOI2014]松鼠的新家
    BZOJ——1787: [Ahoi2008]Meet 紧急集合
  • 原文地址:https://www.cnblogs.com/jasonlam/p/7928058.html
Copyright © 2011-2022 走看看