View Full Version : Pre_File_Filter, bug or bad config ?
The role for this function:
Pre_File_Filter, to filter the desired files ?
on a pre not move the message file for example ?
but why it does not function
I 4 filters and it file is always move with the remainder
Pre_File_Filter_0 = "*.ioFTPD*"
Pre_File_Filter_1 = ".ioFTPD.message"
Pre_File_Filter_2 = "*.message"
Pre_File_Filter_3 = ".message"
help pleas
They are used when counting files.
If you pre 10 files and 5 of these are message sfv crc debug files or whatever they might and only 5 are "real" files they should not be counted in the stats. So therefore they are filtered by this.
Hope this info helped
ok but which is the interest to change the owner files on a pre
if the real owner remains visible in the .message
?
Scripts are supposed to use .ioFTPD.* files (ie. .ioFTPD.message) that are always hidden in LIST/STAT -l.
If you have a script that creates .message files, you should modify it so it uses .ioFTPD.message files instead.
If the .message files are transferred by another user to your site, install a script like newdir or ZR-Tools to ban those useless files.
Scripts are supposed to use .ioFTPD.* files (ie. .ioFTPD.message) that are always hidden in LIST/STAT -l.
=> yes hidden but the result (race..etc in *.ioFTPD.message) is visible, and on a pre the real owner is in this file..
If you have a script that creates .message files, you should modify it so it uses .ioFTPD.message files instead.
=> pz-s use *.ioFTPD.message
If the .message files are transferred by another user to your site, install a script like newdir or ZR-Tools to ban those useless files.
=> http://www.ioftpd.com/board/showthread.php?s=&threadid=3361 or new ioA lol :)
If you have better a solution I listen you
But the interest is to preserve these files (*.ioFTPD.message)
Best will be to change the owner directly in this file
ioBanana leaves only interesting informations in .ioFTPD.message on pre (like imdb, etc.) and removes upload/race stats.
PS: nice work WarC with the new 'Pre_Skip_Messagefile' setting that will be usefull until other zipscripts can do the same ;)
kicked that in as a bonus since I had to release new one anyway :D
durulink
03-02-2005, 06:22 AM
[PRE]
Pre_Area_0 = "AC3|new AC3 shit|d:\AC3|/AC3|0"
...
Pre_Group_2 = "????|AC3|/PRE/*|0|0|hubba"
...
Pre_Touch_Owner = 1
...
Pre_File_Filter_0 = ".ioFTPD"
Pre_File_Filter_1 = ".ioFTPD.message"
Pre_File_Filter_2 = "*.diz"
Pre_File_Filter_3 = "*.imdb"
Pre_File_Filter_4 = "*.jpg"
Pre_File_Filter_5 = "*.m3u"
Pre_Skip_Messagefile = 1
That is my conf of pre part.
I have two problem.
first, File_Filter do not work.
second, File owner(group) do not change. (uid 0 = nobody, gid 0 = ioftpd) owner is uploader. :):)
but, Skip_Messagefile work fine. and folder owner(group) is 0(0).
What is missing or fault in my conf?
I think File_Filter problem.
ioA ver : 2.0.0.B
ownership is a bug in current version and is fixed.
durulink
03-04-2005, 03:00 AM
Thx WarC. (--)(__)
but, How about file count?
Is that fixed too? or my mistake?
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.