From owner-freebsd-questions@FreeBSD.ORG Tue May 5 21:26:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 858EF106566C for ; Tue, 5 May 2009 21:26:01 +0000 (UTC) (envelope-from prvs=369c43e01=echen@nyx.com) Received: from CHMAILGW02.tradearca.com (chmailgw02.nyx.com [198.140.49.38]) by mx1.freebsd.org (Postfix) with ESMTP id 4D5AE8FC16 for ; Tue, 5 May 2009 21:26:00 +0000 (UTC) (envelope-from prvs=369c43e01=echen@nyx.com) X-IronPort-AV: E=Sophos;i="4.40,299,1238994000"; d="scan'208";a="77134990" Received: from nysecorpsmtp01.corp.nyse.com (HELO nysecorpsmtp01.nyse.com) ([159.125.152.166]) by CHMAILGW02-int.tradearca.com with ESMTP; 05 May 2009 15:56:48 -0500 In-Reply-To: <44tz3z4dee.fsf@be-well.ilk.org> To: freebsd-questions@FreeBSD.org X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: Eddie Chen Date: Tue, 5 May 2009 16:56:46 -0400 X-MIMETrack: Serialize by Router on NYSECORPSMTP01/NYSE(Release 6.5.1|January 21, 2004) at 05/05/2009 04:56:48 PM MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: ReturnCode Checking for FTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 21:26:01 -0000 Lowell, I am looking for a FTP clients that exit with a return code. However, last week I download the tnftp and started implementing it. It's actually trivial to implement this feature. If this works, do you think it should be part of the ftp client. Thanks. Lowell Gilbert Eddie Chen cc 05/05/2009 freebsd-questions@FreeBSD.org 02:23 PM Subject Re: ReturnCode Checking for FTP Please respond to freebsd-questions @FreeBSD.org Eddie Chen writes: > I am looking of implementing FTP return code checking after a command > is issued > If the FTP command return "code" not equal from return code to be > check, EXIT 255. > > Command: "? nnn". Where "nnn" is the return code to be check. I'm afraid that I don't understand your question. Are you looking for an FTP client that will provide specific return codes for specific errors? Are you looking for the error codes for a specific FTP client? Are you looking for help scripting your use of an FTP client? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ Visit our website at http://www.nyse.com **************************************************** Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc.