putty下載linux文件到本地windows


  1. psftp -l root -pw password -P port host-ip
  2. -l 用戶名  -pw 密碼  
  3. psftp> help
    ! run a local command
    bye finish your SFTP session
    cd change your remote working directory
    chmod change file permissions and modes
    close finish your SFTP session but do not quit PSFTP
    del delete files on the remote server
    dir list remote files
    exit finish your SFTP session
    get download a file from the server to your local machine
    help give help
    lcd change local working directory
    lpwd print local working directory
    ls list remote files
    mget download multiple files at once
    mkdir create directories on the remote server
    mput upload multiple files at once
    mv move or rename file(s) on the remote server
    open connect to a host
    put upload a file from your local machine to the server
    pwd print your remote working directory
    quit finish your SFTP session
    reget continue downloading files
    ren move or rename file(s) on the remote server
    reput continue uploading files
    rm delete files on the remote server
    rmdir remove directories on the remote server

將遠程當前工作目錄文件sourcefile.txt下載到 本地當前工作目錄中:
  1. psfp> get filename

將本地當前工作目錄文件sourcefile.txt上傳到 遠程當前工作目錄中:
  1. psftp> put  filename


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM