First, you will need to install wget on your AIX server.
- Browse to http://www.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html
- Search for wget
- Click the RPM link
- And it downloads the file: wget-1.9.1-1.aix5.1.ppc.rpm
- Move this to your repository or home AIX machine on which you can as root install this package. Or you can directly download it using ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/wget/wget-1.9.1-1.aix5.1.ppc.rpm
- Run: rpm -Uvh wget-1.9.1-1.aix5.1.ppc.rpm
Now you can use wget to download AIX patches.
Assume your patches are located at ftp://www7b.boulder.ibm.com/aix/fixes/pkgs/kmjuv/
On the AIX server, go into the repository where you want to hold the patches and run wget at background.
# cd /export/nim/patches/IV22602
# wget -b -o /tmp/IV22602_download.log -nd -r --retr-symlinks ftp://www7b.boulder.ibm.com/aix/fixes/pkgs/kmjuv/
-b, --background go to background after startup.
-o, --output-file=FILE log messages to FILE.
-nd, --no-directories don't create directories.
-r, --recursive recursive download.
Check the log file later to make sure the download is completed successfuly.