如何使用ftp从Metalink上下载补丁

Oracle提供一个站点可以用于通过ftp下载Oracle的所有Patch,这个站点是updates.oracle.com。

我们可以在命令行登录,当然需要一个Metalink帐号认证:

C:>ftp updates.oracle.com
Connected to bigip-aru.oracle.com.
220 FTP server ready.
User (bigip-aru.oracle.com:(none)): metalink@eygle.com
331 Username OK, please send password.
Password:
230-
230- Welcome to the Oracle Patch Download FTP Server
230-
230- For detailed help, use command "quote site help".
230

注意根目录是不能ls的,因为Patch是海量的:

ftp> ls
200 PORT command OK.
150 Opening data connection for file listing.
226-Listing complete. Data connection has been closed.
226-It is the policy of this server to deny all
226-requests to list from the root directory.
226-Only directories with names which match
226 bug numbers exist and there are too many to be listed.

我们必须知道确切的Patch号才能导航到下一级目录,我今天是下载了一个Windows上的10203的补丁:

ftp> cd 5337014
250 Changed directory OK.
ftp> ls -al
200 PORT command OK.
150 Opening data connection for file listing.
total 1
-r--r--r-- 1 root other 1604896973 Feb 22 02:58 p5337014_10203_AIX64-5L.zip
-r--r--r-- 1 root other 1424057924 Feb 22 02:37 p5337014_10203_HP64.zip
-r--r--r-- 1 root other 1443790237 Mar 15 14:14 p5337014_10203_IBMPower.zip
-r--r--r-- 1 root other 944121770 Feb 21 03:20 p5337014_10203_LINUX.zip
-r--r--r-- 1 root other 1209745348 Feb 22 02:35 p5337014_10203_Linux-IA64.zip
-r--r--r-- 1 root other 1082086597 Feb 22 02:28 p5337014_10203_Linux-x86-64.zip
-r--r--r-- 1 root other 937018969 Feb 23 03:30 p5337014_10203_MSWIN-x86-64.zip
-r--r--r-- 1 root other 881471858 Feb 26 15:51 p5337014_10203_MVS.zip
-r--r--r-- 1 root other 1254311329 Feb 22 03:03 p5337014_10203_SOLARIS64.zip
-r--r--r-- 1 root other 893831865 Feb 21 03:39 p5337014_10203_WINNT.zip
-r--r--r-- 1 root other 1122786231 Feb 23 03:30 p5337014_10203_WINNT64.zip
226 Listing complete. Data connection has been closed.
ftp: 收到 946 字节,用时 0.00Seconds 946000.00Kbytes/sec.
ftp> quit
221 Goodbye. Service closing connection.

这种方法还是的确方便的,记录一下。

Oracle10g 10.2.0.3 WINNT的补丁居然有800多M,再记录一下Flashget的下载信息:

URL ftp://updates.oracle.com/5337014/p5337014_10203_WINNT.zip
注释
引用页
续传 Yes
本地文件 e:Downloadsp5337014_10203_WINNT.zip
日期 02/21/07 03:39:00
大小 893831865
完成 893831865
总耗时 01:09:12
平均速度 210.23 KB/s
创建时间 04/10/07 13:51:00
完成时间 04/10/07 15:00:52

-The End-

posted @ 2012-10-22 12:43  全威儒  阅读(374)  评论(0编辑  收藏  举报