From: Chris Bryant (Chris.Bryant@DTAG.Com)
Date: Mon Feb 03 2003 - 15:30:20 EST
Admins,
I am executing an ftp in a korn shell script and I am needing to
capture the output normally seen when ftp is executed from the command line.
Below is the section of the script that does the ftp. Any ideas? I will
summarize.
{
/usr/bin/ftp -n ipaddress <<-xxx
user username password
put FILENAME.TXT
bye
xxx
} 2>&1
TIA,
Chris Bryant
UNIX Administrator
Dollar Thrifty Automotive Group
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:06 EDT