View Single Post
Old 01-04-2004, 09:17 PM  
Mouton
Posse Member
 
Join Date: Dec 2002
Posts: 1,956
Default Test RAR command

Allows users to tests rar archives from site commands...
Might be useful for some nukers or group admin...

Syntax:
Code:
SITE TESTRAR <filename.rar>
ioFTPD.ini:
Code:
[FTP_Custom_Commands]
TESTRAR = ..\scripts\testRAR.bat

[FTP_SITE_Permissions]
testrar         = 1GMN
testRAR.bat:
Code:
@echo off
echo !buffer off
CD %path%
D:\ioFTPD\scripts\unrar.exe t %1
echo !buffer on
exit 0
Mouton is offline   Reply With Quote