FTP logging

From: Chris Bryant <Chris.Bryant_at_DTAG.Com>
Date: Mon, 03 Feb 2003 14:30:20 -0600

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
Received on Mon Feb 03 2003 - 20:31:11 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT