From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Bryant Newsgroups: gmane.os.tru64.managers Subject: FTP logging Date: Mon, 03 Feb 2003 14:30:20 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: main.gmane.org 1044304159 14689 80.91.224.249 (3 Feb 2003 20:29:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 20:29:19 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18fnD4-0003mn-00 for ; Mon, 03 Feb 2003 21:28:54 +0100 Original-Received: (qmail 8134 invoked by uid 5); 3 Feb 2003 20:30:42 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 8122 invoked by uid 49493); 3 Feb 2003 20:30:41 -0000 Original-Received: from Chris.Bryant@DTAG.Com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.48334 secs); 03 Feb 2003 20:30:41 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 3 Feb 2003 20:30:41 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9R009AW2B4WM@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Feb 2003 15:30:40 -0500 (EST) Original-Received: from tfyfw.thrifty.com ([65.64.34.2]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9R00CAJ2ARHL@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Feb 2003 15:30:28 -0500 (EST) Original-Received: by tfyfw.thrifty.com; id OAA03643; Mon, 03 Feb 2003 14:22:51 -0600 (CST) Original-Received: from unknown(172.23.116.35) by tfyfw.thrifty.com via csmap (V1.5) id srcAAAO_y2m_; Mon, 03 Feb 2003 14:22:46 -0600 Original-Received: by dtagimc.thrifty.com with Internet Mail Service (5.5.2653.19) id <1CS1P79V>; Mon, 03 Feb 2003 14:30:21 -0600 Original-To: "Tru64 Unix \(tru64-unix-managers@ornl.gov\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:3199 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3199 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