Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-26-2003, 05:53 AM   #16
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

ZR-Tools works great with ioFTPD v4.9.0. Just so you all know.
Zer0Racer is offline   Reply With Quote
Old 05-27-2003, 12:16 PM   #17
phoenixfr
Senior Member
 
Join Date: Nov 2001
Posts: 149
Default

there is no reason why it shouldn't work
phoenixfr is offline   Reply With Quote
Old 05-31-2003, 10:31 AM   #18
odog
Junior Member
 
Join Date: Feb 2003
Posts: 14
Default

great script....
wold be nice if you could add something that can disable it in some dirs....like /Requests/* for exaple...
odog is offline   Reply With Quote
Old 05-31-2003, 06:28 PM   #19
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

Will look into this with ZeroRacer since he is the ruler of what to add and not

/WarC
WarC is offline   Reply With Quote
Old 06-01-2003, 05:56 PM   #20
odog
Junior Member
 
Join Date: Feb 2003
Posts: 14
Default

Even nicer would be if you could add diffrent ban dirs on diffrent sections... =)
odog is offline   Reply With Quote
Old 06-02-2003, 12:03 PM   #21
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

I've been thinking about both the ability to exclude paths and make ZR-Tools handle sections separately. Both are good ideas.

Another thing I've been thinking about is a seperate list for banning files on upload (that wouldn't be used when cleaning paths manually with ZR-Clean.exe) so you can deny upload of for example file_id.diz (leaving it to the zipscript to extract one from zip). At the same time file_id.diz shouldn't be deleted when cleaning path. This would just be an extra list (in addition to the ZR-Banned.cfg) that would be checked prior to checking regular ban-list. And it would only apply to [Pre] ZR-ban. Naming it ZR-Ban-F.cfg?

Back to the first two ideas...

Being able to specify path(s) that should be excluded from clean and ban is needed. You shouldn't have to disable the whole script just to upload something in requests or a maintenance-dir.

Separate ban-lists for different sections is not crucial. But I still think it's a good idea. That feature would make it alot easier of enforcing your site's rules. Banning certain groups in different sections and blocking different dirs containing certain text, for example being able to ban *complete* in all sections but not in dvdr. Or whatever other examples you can come up with.

So.. my answers are:
Excluding paths: YES, absolutely
Separate sections: YES, if not now.. then later
ZR-Ban-F.cfg: YES

I will discuss this further with WarC. Then it's his call if these new features should be added in the near future or not. Depends on how much he has to study and work on his other projects. And if we can come up with logical way on how to implement these features.
Zer0Racer is offline   Reply With Quote
Old 06-29-2003, 01:45 PM   #22
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

m, but it deletes rejected .nfo's from zips but still leaves them in the dir ? some get locked and are undeletable ? namely NF2K2.NFO

?
b>d>>s is offline   Reply With Quote
Old 06-29-2003, 04:01 PM   #23
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

Strange. Deleting in dirs has always worked just fine for me. I just made a little test.zip containing a couple of files + a couple of unwanted nfo's including nf2k2.nfo.
Code:
C:\test>dir
 Volume in drive C is WIN2KSP3
 Volume Serial Number is 60B5-1CF6

 Directory of C:\test

2003-06-29  22:40       <DIR>          .
2003-06-29  22:40       <DIR>          ..
2003-05-14  20:25                9_559 nf2k2.nfo
2003-06-29  22:40               73_034 test.zip
               2 File(s)         82_593 bytes
               2 Dir(s)     781_182_976 bytes free
And then running ZR-Clean.exe to clean it up...
Code:
C:\ioFTPD\scripts\ZR-Tools>ZR-Clean.exe c:\test
-[ZR-Clean]--------------------------
Processing Path...
DELETE in dir  : c:\test\nf2k2.nfo
deleting: kane.nfo
deleting: tct.nfo
deleting: nf2k2.nfo
-------------------------------------
If you're referring to stopping files from being uploaded...
Code:
[Pre]
stor              = ..\scripts\ZR-Tools\ZR-Ban-F.exe
mkd               = ..\scripts\ZR-Tools\ZR-Ban-D.exe
Uploading same test.zip + the nf2k2.nfo in the dir...
Code:
STOR test.zip
150 Opening BINARY mode data connection for test.zip.
226--[ZR-Clean]--------------------------
226-Processing ZipFile...
226-deleting: kane.nfo
226-deleting: tct.nfo
226-deleting: nf2k2.nfo
226--------------------------------------
STOR nf2k2.nfo
426 Connection closed; transfer aborted.
226 This file is banned via ZR-Ban by WarC
Transfer Failed!
So it should work. Plz double-check that everything is configured OK and that all your unwanted files are in ZR-Banned.cfg
Zer0Racer is offline   Reply With Quote
Old 06-29-2003, 05:27 PM   #24
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

@b>d>>s

Yes I have that problem to, but it's not just that NFO. Some releases
pack there ZIP files a little differently, and since ZR-Tools uses
some 5 year old Zip manager program to extract, delete, update
Zips it doesnt support most of the newer generation Zip archives.

Code:
D:\ioFTPD\scripts\ZR-Tools>ZR-Clean.exe D:\Test\Adobe.Acrobat.v6.0.Standard.REA.NFO-ROR
        zip warning: local and central headers differ for (null)
        zip warning:  offset 0--local = 0a, central = 14

zip error: Zip file structure invalid (roras601.zip)

zip error: Zip file structure invalid (roras601.zip)

zip error: Zip file structure invalid (roras602.zip)

zip error: Zip file structure invalid (roras603.zip)

zip error: Zip file structure invalid (roras604.zip)
        zip warning: local and central headers differ for (null)
        zip warning:  offset 0--local = 0a, central = 14
You only see the errors when executing from command line, not
in the msg during the FTP/FXP transfer.

Maybe in ZR-Tools v2.0 we could see the use of Info-ZIP's DLLs.
Or possibly internal ZIP support, RamRam (aka FTPServerTools) has
managed to do so in his tools.

I find ZR-Tools to be somewhat slow in performance, which I would
attribute to the external ZIP tool. By integrating ZIP support into
the tools I'm sure we could see a tremendous speed increase.

Though this is quite a bit of extra work to do, it was just an idea.

Peace
neoxed is offline   Reply With Quote
Old 06-30-2003, 05:04 AM   #25
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

ZR-Tools uses the easiest way possible (freeware) to complete the tasks it was supposed to do. The problem with files not being deleted from the certain zip-files are because they are compressed using PK-ZIP. Not even WinRAR 3.x can delete files from those zips, says archive is corrupt. The zip needs to be repaired first.

About built-in zip-support... sounds a bit too complicated, at least for this app. But I can always speak to WarC about it. As I've said earlier, it was never intended to be such a big deal. Just a simple app to carry out some simple instructions. Don't know about the performance either. Think it works fast enough. If not, I can wait.

Easiest way to get rid of the archive corrupt thing is to wait for new Info-ZIP version 3.x that hopefully will have support for PK-ZIP archives.
Zer0Racer is offline   Reply With Quote
Old 06-30-2003, 11:12 AM   #26
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

ok, sorry. the non deletion of banned files is a clash with SnypeTEST's SioFTPD :<

nfos are deleted from zips ok, but the ban dir and ban file fails

Skipping: EchoBase.nfo
Skipping: infection.nfo
Skipping: LOA.NFO
Skipping: rsn.nfo

says skipped but they still end up in dir

which sux, so if u can get together or somit to sort this it would be nice, lol

thx

hm, seems same problem with b0unty banfile/dir .itcl
b>d>>s is offline   Reply With Quote
Old 06-30-2003, 11:21 AM   #27
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

You must've configured something wrong. Are you absolutely sure that you've set this in ioFTPD.ini?

[Pre]
stor = ..\scripts\ZR-Tools\ZR-Ban-F.exe
mkd = ..\scripts\ZR-Tools\ZR-Ban-D.exe
Zer0Racer is offline   Reply With Quote
Old 06-30-2003, 11:47 AM   #28
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

ZR-T dels the files from the zip, but SioFTPD then still manages to extract it to the dir

?

226--[ZR-Clean]--------------------------
226-Processing ZipFile...
226-deleting: wizard.nfo
226--------------------------------------

but its still in dir afterwards as well, this is without it being in the dir on upload but just in the zip ???
b>d>>s is offline   Reply With Quote
Old 06-30-2003, 11:55 AM   #29
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

0M9

ok, here is the problem

i am v sorry lmao

u need to put zrclean before the SioFTPD,

this has fixed it.

*cough*

all fixed now, just need to make sure zr runs b4 SioFTPD, i dont think this is in instructions (b>d>>s tries to cover his ass)

i think this is only due to SioFTPD not ZR-Tools, but i dont like to say for sure :P

b>d>>s is offline   Reply With Quote
Old 06-30-2003, 12:18 PM   #30
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

HEHE ok.. no wonder you didn't get it to work.

Btw.. why is SioFTPD extracting junknfos in the first place?
Zer0Racer is offline   Reply With Quote
Reply

Tags
features, flashfxp, ioftpd, paths, zr-tools

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


All times are GMT -5. The time now is 04:14 PM.

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