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

转载自:http://www.eygle.com/archives/2007/04/ftp_metalink_download.html

刚才去 metalink 下载 10g 的 patch,下到中途,重启了下电脑,就不能继续下载了,想到可能需要 metalink 认证,于是重新登陆了一下 metalink,但还是不能下载,想到之前在 eygle 那儿看到过使用 ftp 下载补丁的办法,找出来用了一下,可以断点续传了,哈哈,将该文转载于此。

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:\Downloads\p5337014_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

 

About this Entry

This page contains a single entry by Sky published on April 23, 2007 10:13 PM.

基于 column 的 update trigger demo was the previous entry in this blog.

ROWID的含义与块地址rdba深入分析 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.