Poate te ajuta asta: " Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management)" - http://www.howtoforge.com/virtual_hosting_with_pureftpd_and_mysql_fedora7
2007/10/23, Ratiu Petru <[EMAIL PROTECTED]>: > On 10/23/07, Catalin Catana <[EMAIL PROTECTED]> wrote: > > Poate cineva sa ma indrume catre o documentatie sau o metoda prin care > > as putea > > face traffic accounting pentru un server de ftp (pureftpd sau proftpd) > > la nivel de user virtual? > > > > Google nu ma ajutat prea mult sa gasec o solutie pana acum .. oricum mai > > caut. > > > > google://proftpd+accounting > > Cateva linkuri interesante, printre care si > http://osdir.com/ml/network.pureftpd.user/2005-12/msg00057.html : > > Under proftpd I was doing my bandwidth accounting the following way: > > # // Count the uploaded bytes > SQLLog STOR ulbytescount > > SQLNamedQuery ulbytescount UPDATE "ul_bytes=ul_bytes+%b WHERE > login='%u'" ftp_access > > # // Count the uploaded files > SQLLog STOR ulcount > > SQLNamedQuery ulcount UPDATE "ul_count=ul_count+1 WHERE login='%u'" ftp_access > > > Does that bake your noodle? > > -- > Petre. > > > > Multumesc, > > Catalin C. > > > > _______________________________________________ > > RLUG mailing list > > [email protected] > > http://lists.lug.ro/mailman/listinfo/rlug > > > > > -- > -- > > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug > -- Cristian Ionescu [EMAIL PROTECTED] www.xplozia.ro _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
