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 email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
-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