Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6551597
  • 博文数量: 1005
  • 博客积分: 8199
  • 博客等级: 中将
  • 技术积分: 13071
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-25 20:19
个人简介

脚踏实地、勇往直前!

文章分类

全部博文(1005)

文章存档

2020年(2)

2019年(93)

2018年(208)

2017年(81)

2016年(49)

2015年(50)

2014年(170)

2013年(52)

2012年(177)

2011年(93)

2010年(30)

分类: LINUX

2012-02-08 13:46:33

 
1.下载远程文件到当前目录
get remote_file
 
2.使用二进制方式传输
ftp> binary
200 Switching to Binary mode.
 
3.mget
下载某个目录下的多个文件,这里要提示输入回车, 若想去掉提示.
mget *
 
4.使用prompt off去掉下载提示
ftp> prompt off;
Interactive mode Off .
ftp> mget asm //下载asm目录下的内容,mget只能下载文件,不能下载目录下的子目录
200 Switching to Binary mode.
200 PORT command successful. Consider using PASV.
550 Failed to open file.
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for asm/oracleasm-2.6.18-8.el5-2.0.4-1.e
l5.i686.rpm (125743 bytes).
226 File send OK.
ftp: 收到 125743 字节,用时 0.02Seconds 7858.94Kbytes/sec.
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for asm/oracleasm-2.6.18-8.el5PAE-2.0.4-
1.el5.i686.rpm (125341 bytes).
226 File send OK.
ftp: 收到 125341 字节,用时 0.01Seconds 8356.07Kbytes/sec.
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for asm/oracleasm-2.6.18-8.el5xen-2.0.4-
1.el5.i686.rpm (122859 bytes).
226 File send OK.
ftp: 收到 122859 字节,用时 0.00Seconds 122859000.00Kbytes/sec.
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for asm/oracleasm-support-2.1.7-1.el5.i3
86.rpm (85687 bytes).
226 File send OK.
ftp: 收到 85687 字节,用时 0.01Seconds 5712.47Kbytes/sec.
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for asm/oracleasmlib-2.0.4-1.el5.i386.rp
m (13929 bytes).
226 File send OK.
ftp: 收到 13929 字节,用时 0.00Seconds 13929000.00Kbytes/sec.
阅读(4297) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~