There is always more than one way to skin a cat, as they say...Here's a versatile little ftp script. #!/bin/ksh...
-x # set up variables LCD="/tmp" # local directory, to put patch LOGIN="anonymous" PASS="email@example.com" DIR=/hp-ux_patches/s700_800/11.X PATCH="PHSS_number"
/usr/bin/ftp -v -n >> /tmp/batchftp.log 2>> /tmp/batchftp.err <
user $LOGIN $PASS