[centos] how to know when files have finished ftping? --antairrestored

Brian Mathis brian.mathis at gmail.com
Mon Nov 12 21:23:05 UTC 2007


Such a method requires the client to change their process, which in
most cases is unacceptable.


On Nov 12, 2007 4:07 PM, Colht, Charles <Charles.Colht at acsalaska.com> wrote:
> Just to chime in here, what I use is another file that is transferred
> last. It can be zero sized. Just some name you look for and then delete
> when you are done for next time. It doesn't matter how long that one
> takes because you will know that the important files are already
> transferred.
>
> chuck
>
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Neil Aggarwal
> Sent: Monday, November 12, 2007 7:28 AM
> To: 'CentOS mailing list'
> Subject: RE: [centos] how to know when files have finished ftping?
> --antairrestored
>
>
> Geoff:
>
> I used lsof.
>
> Thanks everyone for the suggestions.
>
>         Neil
>
> > Here's a thought: what about doing an lsof?  If a file is
> > still being written by ftpd it should be open for writing.
>



More information about the CentOS mailing list