There is always more than one way to skin a cat, as they say...Here's a versatile little ftp script. #!/bin/ksh...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
-x # set up variables LCD="/tmp" # local directory, to put patch LOGIN="anonymous" PASS="firstname.lastname@example.org" 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