Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 20:38:30 -0500 (CDT)
From:      mcbrune <mcbrune@home.com>
To:        vijay singh <vijay@IPRG.nokia.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: file status in script (sh)
Message-ID:  <200110160138.f9G1cUo70001@home.com>
In-Reply-To: <3BCB8D6D.77D4064A@iprg.nokia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110160138.f9G1cUo70001>