Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-06-2004, 04:43 PM   #1
jahknee
Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 36
Question newdir problem

when i use onsitenew.tcl in my welcome text, no rows outputed by the onsitenew script is starting with 200- (or whatever the code should be).

but when i trigger the script manually with SITE NEW all rows begins with 200-.

Why is this? i'm a member of a ftp ring where an indexbot indexes all ftp's. but when it's time to index my ftp the indexbot crashes just because that the output from SITE NEW in my welcome text is not starting with 200-. According to our admin every outputed line should start with the apropriate code if it should be RFC compliant.

Not sure if this is a ioftpd or newdir problem?
jahknee is offline   Reply With Quote
Old 04-06-2004, 04:59 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Newdir script should output correct prefix.
Until dark adds prefix to %[execute] super cookie.
Mouton is offline   Reply With Quote
Old 04-06-2004, 05:01 PM   #3
jahknee
Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 36
Default

Ok. until this is solved i had to modify the script myself now so that it outputs the correct codes. so now i use SITE NEW2 for the welcome text that adds the 200- prefix and the normal SITE NEW that doesn't add the prefix.
jahknee is offline   Reply With Quote
Old 04-06-2004, 05:09 PM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

now that i think about it, i seem to remember that %[execute] got a parameter for the prefix...
maybe try %[execute(...)(...)(200-)]
Mouton is offline   Reply With Quote
Old 04-06-2004, 05:16 PM   #5
jahknee
Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 36
Default

yeah, that solved my problem! thanks alot for the quick answers!
jahknee is offline   Reply With Quote
Old 04-09-2004, 06:25 AM   #6
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

btw it was explained in newdir manual
bounty is offline   Reply With Quote
Reply

Tags
200-, code, ftp, ftps, site


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
Flash hangs during transfers slatts General Discussion 5 01-14-2005 07:50 PM


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

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