怎样用ftp将unix系统下的文件传到win系统下

 

怎样用ftp将unix系统下的文件传到win系统下

这两台机器的网络要在一个网段。

例如:
win2000 pc:
100.100.100.10   255.255.255.0
unix pc:
100.100.100.11    255.255.255.0

在win pc上 开始 ->; 运行->; ftp 100.100.100.11

Connected to 100.100.100.11.
220-
220 yybcxqz FTP server (Version 2.1WU(1)) ready.
User (100.100.100.11none)): root输入用户名
331 Password required for root.
Password:xxxxxx输入用户口令
230 User root logged in.
ftp>; cd ls进入ls目录
250 CWD command successful.
ftp>; dir查看目录中文件
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 29312
drwxr-xr-x   2 root     sys          512 Aug  4 13:47 .
drwxr-xr-x  28 root     bin         1024 Aug  4 14:15 ..
-rw-r-----   1 root     sys      3969693 Aug  4 13:46 acds12.txt
-rw-r-----   1 root     sys      3969693 Aug  4 13:46 Acds12.txt
-rw-r-----   1 root     sys      3969693 Aug  4 13:46 acds12.0804
--rw-r-----   1 root     sys       881647 Jul 31 14:26 ds12.Z
-226 Transfer complete.
ftp: 1036 bytes received in 0.06Seconds 16.44Kbytes/sec.
ftp>; bin采用二进制传输
200 Type set to I.
ftp>; get ds12.Z把unix机器当前目录中的ds12.Z文件传到win2000用户下
200 PORT command successful.
150 Opening BINARY mode data connection for ds12.Z (881647 bytes).
226 Transfer complete.
ftp: 881647 bytes received in 0.42Seconds 2089.21Kbytes/sec.
ftp>; put ds12.Z把win2000用户下的ds12.Z文件传到unix机器当前目录中
200 PORT command successful.
150 Opening BINARY mode data connection for Ds12.z.
226 Transfer complete.
ftp: 881647 bytes sent in 0.11Seconds 8014.97Kbytes/sec.
ftp>;bye退出
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值