Go Back   FlashFXP Forums > > > >

bounty's scripts BQUOTA, NEWDIR, BTRIAL, OCSCRIPT, VERSION SCRIPT, IMDB.TCL

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 01-28-2004, 08:01 AM   #31
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

Quote:
Originally posted by MaZza_Dj
Man i have a problem to enter in a FTP when your script is active:


[12.31.19] Connecting to SITE
[12.31.19] Connected to SITE -> IP=*.*.*.* PORT=*
[12.31.19] Ident Request: *.*.*.*
[12.31.21] 220 FTP Server ready.
[12.31.21] USER login
[12.31.34] 421 Timeout (15 seconds): closing control connection.
[12.31.34] Connection failed
[12.31.34] Delaying for 32 seconds before reconnect attempt #1
[12.31.36] Retry attempt Aborted

why?
hmmm dunno
do you use special chars in login names or something like this ?
bounty is offline   Reply With Quote
Old 01-28-2004, 08:24 AM   #32
MaZza_Dj
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 123
Default

no i have mazzadj in login name and other user have the same problem....
i have one bnc and get external ident active, i don't know if is this ot what...
MaZza_Dj is offline   Reply With Quote
Old 01-28-2004, 05:25 PM   #33
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Thumbs up

wicked, ma site needs this
mr_F_2 is offline   Reply With Quote
Old 01-29-2004, 03:36 AM   #34
typhon|wk
Member
 
Join Date: Nov 2003
Posts: 55
Default

finaly OCscript 2.2 work for me....

here wath i did

edited init.itc in scripts dir and pasted at the end the lines from init.itc in OCscript pak (i use newdir too)

deleted init.itcl from ocscript dir

added under [events]
OnServerStart = TCL ..\scripts\ocscript\OnServerStart.itcl
at 1st place in this section

tested on 553 556 and 562 work fine

on damned .it FW under bnc too mazza-dj

typhon|wk is offline   Reply With Quote
Old 01-29-2004, 09:37 AM   #35
MaZza_Dj
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 123
Default

my init.tlc is this:
first newdir and for second open close script

.
.
..

##### OnSiteUnnuke #####
# !!! WARNING !!!
# the good work of this script depend of the length of the Nuke_Header in ioA
# the default ioA Nuke_Header is: [Nuked]-
# define here the ioA Nuke_Header you use !! don't remove {} !!
set IOA_NUKE_TAG {[NUKED]-}
# so the ioA_Nuke_Length should be set to 8 chars
set IOA_NUKE_LENGTH 8

##### OnSiteWipe #####
# EXPERIMENTAL substrings path for ppl who need it (README-1ST.TXT exemple 2)
# if you use exemple 2: set ND_SUBSTRINGS "/INCOMING /ARCHIVES"
# if you use exemple 1 & /ARCHIVES dir : set ND_SUBSTRINGS "/ARCHIVES"
set ND_SUBSTRINGS ""


################################################## ###############################
##### GLOBAL OCSCRIPT 2.2 INI #####

# set here the path for ocscript
set ocscript(PATH) "../scripts/ocscript"

# set here the default reason message (if none are set in 'site close <reason>')
set ocscript(REASON) "Upgrading Hardware or Admin Problem"

# set here the flags who can bypass the close & the masskick
set ocscript(BYPASS) "1M"


my ioftpd.ini is this:

Reset = 0 0 * * &Reset
Service_Update = 10,30,50 * * * &Service_Update
spidersl = 0 0 * * EXEC php.exe -q E:\ioFTPD\scripts\php_psio\zipscript-c.php spidersl
Newday = 0 0 * * EXEC ..\scripts\ioA\ioA.exe NEWDATE
Weekly = 0 0 * 6 EXEC ..\scripts\ioA\ioA.exe WEEKLYSET
static = 57 23 * * TCL ..\scripts\static.itcl all
static = 58 23 * * TCL ..\scripts\static.itcl atopdn 20
static = 59 23 * * TCL ..\scripts\static.itcl dtopup 10
DailyReset = 0 0 * * TCL ..\scripts\Readd\reset.itcl day
WeeklyReset = 0 0 * 0 TCL ..\scripts\Readd\reset.itcl week
MonthlyReset = 0 0 1 * TCL ..\scripts\Readd\reset.itcl month

[Events]
OnUploadError = EXEC php.exe -q E:\ioFTPD\scripts\php_psio\zipscript-c.php
OnUploadComplete = EXEC php.exe -q E:\ioFTPD\scripts\php_psio\zipscript-c.php
OnUploadError = TCL ..\scripts\newdir\OnUploadError.itcl
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
OnUploadComplete = TCL ..\scripts\nfourl.itcl
OnUploadComplete = TCL ..\scripts\badurl.itcl
;OnDownloadError =
;OnDownloadComplete =
;OnResume =
;OnUpload =
OnNewDir = TCL ..\scripts\newdir\OnNewDir.itcl
OnDelDir = TCL ..\scripts\newdir\OnDelDir.itcl
;OnLogIn =
OnServerStart = TCL ..\scripts\newdir\OnServerStart.itcl
OnServerStart = TCL ..\scripts\ocscript\OnServerStart.itcl
;OnServerStop =
;OnServiceStart =
;OnServiceStop =
OnFtpLogIn = EXEC ..\scripts\ioA\ioA.exe logon


[Modules]
;MessageVariableModule = ..\modules\cookie.dll
;UserModule = ..\modules\networkuser.dll
;GroupModule = ..\modules\networkgroup.dll
;EventModule = ..\modules\eventmodule.dll


[FTP_Pre-Command_Events]
list = TCL ..\scripts\newdir\OnPreList.itcl
stor = TCL ..\scripts\newdir\OnPreStor.itcl
mkd = TCL ..\scripts\newdir\OnPreMkd.itcl
site = TCL ..\scripts\Readd\presite.itcl
user = TCL ..\scripts\ocscript\OnPreUser.itcl

[FTP_Post-Command_Events]
;mkd =
;stor =
dele = EXEC php.exe -q E:\ioFTPD\scripts\php_psio\postdel.php
dele = TCL ..\scripts\newdir\OnPostDele.itcl
rmd = TCL ..\scripts\newdir\OnPostRmd.itcl

My config are right? or i can put after one other script the ocscript?
MaZza_Dj is offline   Reply With Quote
Old 02-04-2004, 04:10 PM   #36
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default OCSCRIPT V3.0 OUT !!!

hi m8s

here is a new version of OCScript

i hope you'll like this one

DL link & changelog on 1st post

have fun
bounty
bounty is offline   Reply With Quote
Old 02-04-2004, 05:26 PM   #37
typhon|wk
Member
 
Join Date: Nov 2003
Posts: 55
Default

just in time.... before i upgraded my sites

great job! work fine..... time to upgrade all
typhon|wk is offline   Reply With Quote
Old 02-04-2004, 06:18 PM   #38
Xn3t
Member
 
Join Date: Dec 2003
Posts: 50
Default

works perfectly m8! good job
Xn3t is offline   Reply With Quote
Old 02-04-2004, 07:27 PM   #39
MaZza_Dj
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 123
Default

mmm this work for now
perfect 8))))
and fantastic command enabled or disabled 8))))))
:i'm not g
MaZza_Dj is offline   Reply With Quote
Old 02-04-2004, 08:02 PM   #40
Ren
Senior Member
 
Join Date: Sep 2002
Posts: 111
Default

Quote:
Originally posted by MaZza_Dj

fantastic command enabled or disabled 8))))))

hmmm, me see's a new bquota coming
Ren is offline   Reply With Quote
Old 02-04-2004, 08:17 PM   #41
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

Quote:
Originally posted by Ren
hmmm, me see's a new bquota coming
you need something new ?
is bquota 1.1 not working ?
bounty is offline   Reply With Quote
Old 02-16-2004, 10:02 AM   #42
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

Is it only me that gets all kind of errors when useing OC?
I cant close the site.

site close SomeReason
200 Command successful.

Here are all errors Id get

Code:
------------------------------------------------------------------
02-16-2004 15:54:46 "..\scripts\ocscript\ocscript\OnSiteClose.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ocscript(REASON)": no such element in array
    while executing
"set args $ocscript(REASON) "
    (procedure "ocscript_onsiteclose" line 3)
    invoked from within
"ocscript_onsiteclose"
    (file "..\scripts\ocscript\ocscript\OnSiteClose.itcl" line 34)
------------------------------------------------------------------
02-16-2004 15:54:51 "..\scripts\OCScript\ocscript\OnSiteEnable.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "args": no such variable
    while executing
"lindex $args 0"
    (procedure "ocscript_onsiteenable" line 3)
    invoked from within
"ocscript_onsiteenable"
    (file "..\scripts\OCScript\ocscript\OnSiteEnable.itcl" line 32)
------------------------------------------------------------------
02-16-2004 15:55:42 "..\scripts\OCScript\ocscript\OnSiteDisable.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "args": no such variable
    while executing
"lindex $args 0"
    (procedure "ocscript_onsitedisable" line 3)
    invoked from within
"ocscript_onsitedisable"
    (file "..\scripts\OCScript\ocscript\OnSiteDisable.itcl" line 39)
I updated the old tcl84.dll with new tcl84t.dll(and renamed it to tcl84.dll). Havent been able to test the enable disable due to this errors. But Ive already have a suggestion to it. Would be nice if there is a way to list all disable users

BTW: Iam useing 5.6.3r
odd is offline   Reply With Quote
Old 02-18-2004, 09:05 AM   #43
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

I get some random errors. It workes sometimes and other times not. It feels like the script cant handle fast open/close cmds.

If I open the site and the right after ive open it close it just in a matter of a seconds it doesnt respond. If I wait a while before closing it it works.


site open
200-OCScript v3.0: Server is now OPEN
200 Command successful.
site close
200 Command successful.
site close
200-OCScript v3.0: Server is now CLOSED & all users KICKED
200 Command successful.



EDIT: Never mind I think I found the problem. Was useing the new tcl84t.dll(renamed to tcl84.dll) instead of the old tcl84.dll.
odd is offline   Reply With Quote
Old 02-25-2004, 07:43 AM   #44
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

Quote:
Originally posted by odd
But Ive already have a suggestion to it. Would be nice if there is a way to list all disable users
Got another suggestion to Enable/Disable section. No one should be able to disable Master account(Flag M).
odd is offline   Reply With Quote
Old 03-08-2004, 02:29 PM   #45
nagelrit
Junior Member
 
Join Date: Nov 2003
Posts: 1
Default

was it any irc commands for this? like !sitenameCLOSE/OPEN reason?
nagelrit is offline   Reply With Quote
Reply

Tags
bounty, fun, ocscript, site, usefull

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
GuildFTPd command set (import) Jesper Custom Commands 4 07-29-2011 12:41 AM


All times are GMT -5. The time now is 12:47 AM.

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