• 如何使用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-

  • 相关阅读:
    Dede CMS如何在文章中增加“附件下载”操作说明
    仿站模仿的三个网站
    PHP面相对象中的重载与重写
    面向对象思想
    最常用的正则表达式
    PHP第二阶段学习 一、php的基本语法
    PHP isset()与empty()的使用区别详解
    mysql索引总结----mysql 索引类型以及创建
    MySQL实现当前数据表的所有时间都增加或减少指定的时间间隔
    T-SQL语句以及几个数据库引擎
  • 原文地址:https://www.cnblogs.com/quanweiru/p/2733718.html
Copyright © 2020-2023  润新知