From owner-freebsd-questions Mon Oct 15 18:38:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from home.com (c1737881-a.plano1.tx.home.com [65.10.46.29]) by hub.freebsd.org (Postfix) with ESMTP id 0B0BE37B40A for ; Mon, 15 Oct 2001 18:38:32 -0700 (PDT) Received: (from mcbrune@localhost) by home.com (8.11.6/8.11.4) id f9G1cUo70001; Mon, 15 Oct 2001 20:38:30 -0500 (CDT) (envelope-from mcbrune) From: mcbrune Message-Id: <200110160138.f9G1cUo70001@home.com> Subject: Re: file status in script (sh) In-Reply-To: <3BCB8D6D.77D4064A@iprg.nokia.com> To: vijay singh Date: Mon, 15 Oct 2001 20:38:30 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL92 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If you are using wu-ftp, you can check xferlog for the filename. Other than that, if you have a trailer record you can do a grep for that. Corey > Hello, I was wondering if there is a way I can find the status of a file > from a script. For eg if I am ftp'ing file X and a script asynchronously > tries to do some operation on it (untar it perhaps), is there a way I > can not start the operation till the transfer is complete. I am using > /bin/sh. Any help is appreciated. Kindly CC me as I am not on the list. > > br, > vijay > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message