Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-01-2004, 09:26 AM   #1
iam
Senior Member
 
Join Date: Mar 2004
Posts: 289
Default 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
iam is offline   Reply With Quote
Old 06-01-2004, 04:56 PM   #2
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

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
WarC is offline   Reply With Quote
Old 06-01-2004, 11:39 PM   #3
iam
Senior Member
 
Join Date: Mar 2004
Posts: 289
Default

ok but which is the interest to change the owner files on a pre
if the real owner remains visible in the .message
?
iam is offline   Reply With Quote
Old 06-02-2004, 03:27 AM   #4
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

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.
Harm is offline   Reply With Quote
Old 06-02-2004, 04:01 AM   #5
iam
Senior Member
 
Join Date: Mar 2004
Posts: 289
Default

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/showthre...&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
iam is offline   Reply With Quote
Old 06-02-2004, 10:19 AM   #6
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

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
Harm is offline   Reply With Quote
Old 06-02-2004, 12:34 PM   #7
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

kicked that in as a bonus since I had to release new one anyway
WarC is offline   Reply With Quote
Old 03-02-2005, 06:22 AM   #8
durulink
Senior Member
 
Join Date: Mar 2003
Posts: 102
Default

Quote:
[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
durulink is offline   Reply With Quote
Old 03-03-2005, 04:37 PM   #9
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

ownership is a bug in current version and is fixed.
WarC is offline   Reply With Quote
Old 03-04-2005, 03:00 AM   #10
durulink
Senior Member
 
Join Date: Mar 2003
Posts: 102
Default

Thx WarC. (--)(__)
but, How about file count?
Is that fixed too? or my mistake?
durulink is offline   Reply With Quote
Old 03-04-2005, 06:55 AM   #11
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

buggliwuggli so fixed
WarC is offline   Reply With Quote
Reply

Tags
file, filters, function, move, pre_file_filter

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare Folder Content -- SUBDIRS too? dgrrr General Discussion 1 04-04-2005 08:28 PM


All times are GMT -5. The time now is 11:21 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)