From owner-freebsd-hackers Tue Apr 30 13:38:42 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA05147 for hackers-outgoing; Tue, 30 Apr 1996 13:38:42 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA05139 for ; Tue, 30 Apr 1996 13:38:37 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA07745; Tue, 30 Apr 1996 13:31:29 -0700 From: Terry Lambert Message-Id: <199604302031.NAA07745@phaeton.artisoft.com> Subject: Re: Running FTP as a slave process ... To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Tue, 30 Apr 1996 13:31:29 -0700 (MST) Cc: hackers@FreeBSD.org In-Reply-To: <199604300902.SAA20627@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Apr 30, 96 06:32:37 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > This is actually a bit more of a general question than the subject suggests. > > I have a program that wants to shift stuff around using FTP. > (It wants to put, not get, so the ftp stuff in sysinstall isn't any help). > > So, I fork off a copy of /usr/bin/ftp -n and talk to it. It does > everything that I tell it to, which is fine. > > BUT > > I want to see whether what I've transferred has made it. So I issue an > 'nlist ' command. Oddly enough, it gets written by the slave, > but doesn't immediately show up at my end; in fact it's not until I > ask the slave to quit that I hear it. > > If I had more time, I'd investigate further, but has anyone else done > this before, and what results did they get? Use libftp. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.