[NTLUG:Discuss] How to know when files have finished FTPing?

Neil Aggarwal neil at JAMMConsulting.com
Tue Nov 13 11:56:08 CST 2007


Thomas:

Thanks for the suggestion, but I think lsof is better.

If the client transfers a file with the same
name, it will be harder to track that since I will
have to keep track of the timestamps in the xferlog.

Doing an lsof and checking for output seems simplest
to me.

Don't take this as a criticism, just an open discussion
about the merits of one approach vs. another.

Thanks,
	Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

> Transfers don't get logged to /var/log/xferlog until they are 
> completed.
>  I used this info to create a script which does exactly what you
> describe.  Once the file appears in /var/log/xferlog, it is 
> ready to be
> moved.
> 
> Hope this helps.
> -- 
> Thomas Cameron, RHCE, RHCI, CNE, MCSE, MCT
> Solutions Architect Team Lead, Red Hat
> 512-241-0774 office 512-585-5631 cell 512-857-1345 fax
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss




More information about the Discuss mailing list