首页 > Linux操作系统 > Linux操作系统 > Windows -> Linux 文件传输

Windows -> Linux 文件传输

原创 Linux操作系统 作者:xchui702 时间:2014-02-08 14:13:22 0 删除 编辑

  当下,一般Linux的默认安装不再安装FTP或VSFTP,但是会安装SSH 包。在这种情况如何利用SSH协议来传输文件了?


 Volume in drive D is New Volume
 Volume Serial Number is 14A7-2CEC

 Directory of D:\bdwork\客户端工具

2013/12/27  16:21   

2013/12/27  16:21              ..
2013/08/08  10:14               101 999网址导航.htm
2013/08/07  08:08           147,456 PAGEANT.EXE
2013/08/07  08:08           311,296 PLINK.EXE
2013/08/07  08:08           323,584 PSCP.EXE
2013/08/07  08:08           335,872 PSFTP.EXE
2013/08/07  08:08           448,314 PUTTY.CHM
2013/08/07  08:08            32,240 PUTTY.CNT
2013/08/07  08:08           495,616 PUTTY.EXE
2013/08/07  08:08           658,619 PUTTY.HLP
2013/08/07  08:08           184,320 PUTTYGEN.EXE
2013/08/08  10:14             3,761 下载吧下载说明.htm
              11 File(s)      2,941,179 bytes
               2 Dir(s)  25,002,823,680 bytes free


login as: root
root@'s password:
Remote working directory is /root
psftp> cd /u01/software
Remote directory is now /u01/software
psftp> bin
psftp: unknown command "bin"
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
psftp> put D:\work\WII\MYSQL\software\
local:D:\work\WII\MYSQL\software\ => remote:/u01/software/V38183-01
psftp> quit

PuTTY Secure Copy client
Release 0.63
Usage: pscp [options] [user@]host:source target
       pscp [options] source [source...] [user@]host:target
       pscp [options] -ls [user@]host:filespec
  -V        print version information and exit
  -pgpfp    print PGP key fingerprints and exit
  -p        preserve file attributes
  -q        quiet, don't show statistics
  -r        copy directories recursively
  -v        show verbose messages
  -load sessname  Load settings from saved session
  -P port   connect to specified port
  -l user   connect with specified username
  -pw passw login with specified password
  -1 -2     force use of particular SSH protocol version
  -4 -6     force use of IPv4 or IPv6
  -C        enable compression
  -i key    private key file for authentication
  -noagent  disable use of Pageant
  -agent    enable use of Pageant
  -batch    disable all interactive prompts
  -unsafe   allow server-side wildcards (DANGEROUS)
  -sftp     force use of SFTP protocol
  -scp      force use of SCP protocol

D:\bdwork\客户端工具>pscp D:\work\WII\MYSQL\software\mysql-cluster-advanced-7.3. root@
root@'s password:
mysql-cluster-advanced-7. | 461532 kB | 9419.0 kB/s | ETA: 00:00:00 | 100%


来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

上一篇: CRS 启动故障一例
请登录后发表评论 登录


  • 博文量
  • 访问量