<div dir="ltr"><div>though I am not sure this is what hetz meant , i would have done it as follows:</div>
<div>if some new file opened in /ftpdir</div>
<div>  then run lsof -p &lt;pidof ftpd&gt; | grep filename</div>
<div>  if true then ftp downloaded it</div>
<div> </div>
<div>what say you ? <br><br></div>
<div class="gmail_quote">On Tue, Jun 14, 2011 at 11:13 AM, Elazar Leibovich <span dir="ltr">&lt;<a href="mailto:elazarl@gmail.com">elazarl@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div dir="ltr"><br>
<div class="gmail_quote">
<div class="im">On Tue, Jun 14, 2011 at 10:49 AM, Raz <span dir="ltr">&lt;<a href="mailto:raziebe@gmail.com" target="_blank">raziebe@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div dir="ltr">
<div class="gmail_quote">
<div>so the file has an owner. the script should query the owner id. am i missing something here ?<br></div></div></div></blockquote>
<div><br></div></div>
<div>How would he know if the owner used ftp, or didn&#39;t use ftp? </div></div><br></div></blockquote></div><br></div>