<div dir="rtl"><div dir="ltr">What I meant was simple:</div><div dir="ltr"><br></div><div dir="ltr">Lets say you have a sftp-server, which various people upload your files to it. </div><div dir="ltr">After a file has been upload it, a script would automatically launch to parse the file, change it's permissions, move it etc.</div>
<div dir="ltr"><br></div><div dir="ltr">At the end the solution was to use incron.</div><div dir="ltr"><br></div><div dir="ltr">Thanks,</div><div dir="ltr">Hetz</div><div dir="ltr"><br></div><div class="gmail_quote" dir="ltr">
<div>2011/6/14 Raz <span dir="ltr"><<a href="mailto:raziebe@gmail.com">raziebe@gmail.com</a>></span></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<div><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 <pidof ftpd> | 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"><<a href="mailto:elazarl@gmail.com" target="_blank">elazarl@gmail.com</a>></span> wrote:<br>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; " class="gmail_quote">
<div><br>
<div class="gmail_quote">
<div>On Tue, Jun 14, 2011 at 10:49 AM, Raz <span dir="ltr"><<a href="mailto:raziebe@gmail.com" target="_blank">raziebe@gmail.com</a>></span> wrote:<br>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; " class="gmail_quote">
<div>
<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't use ftp? </div></div><br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><div dir="ltr"><br><br clear="all"><br>-- <br></div><div dir="ltr"><div style="color:rgb(0, 0, 0);font-family:Verdana, Arial, Helvetica, sans-serif;margin-top:8px;margin-right:8px;margin-bottom:8px;margin-left:8px;background-color:rgb(255, 255, 255)">
<p><strong style="font-size:10px"><span style="font-size:small"><span style="color:rgb(0, 0, 128)"><span style="color:rgb(0, 0, 0);font-weight:normal">חץ בן חמו</span><br>ח</span><span style="color:rgb(0, 0, 255)">ץ</span>-<span style="color:rgb(0, 0, 128)">ב</span><span style="color:rgb(0, 0, 255)">י</span><span style="color:rgb(51, 102, 255)">ז</span><br>
</span></strong>השכרה ואירוח של שרתים פיזיים<br>מעוניין להשתמש בשרותים שחסומים לגולש הישראלי? Hulu? NetFlix? Pandora? Google Voice? אם כן, כנס <a href="http://vps.net.bz/?p=406" target="_blank">לכאן</a>.</p></div></div><div dir="ltr">
<br></div>
</div>