Old 08-24-2005, 12:52 PM   #1
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 529
Default iojNFO

iojNFO shows .nfo file to user on SITE NFO command in dir where he is idlin
if more than one nfo is there all nfos are shown

in ioFTPD.ini add
nfo = TCL ..\where\u\have\iojNFO.itcl

iojNFO
jeza is offline   Reply With Quote
Old 01-06-2006, 04:54 PM   #2
Mayh3MUK
Junior Member
 
Join Date: Jan 2006
Posts: 5
Default

had to change:

nfo = TCL ..\where\u\have\iojNFO.itcl
to
nfo = TCL D:\where\u\have\iojNFO.itcl <-works for me!

else it would fail and i would get in SystemError.log
01-06-2006 21:36:47 "..\ioFTPD\scripts\iojNFO\iojNFO.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
Mayh3MUK is offline   Reply With Quote
Old 01-09-2006, 09:14 AM   #3
PaRaNoiD_JaCK
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default

I`m using your script at the moment to show nfo on dir changes with the following ioftpd.message file.

%[execute(TCL ..\scripts\iojNFO\iojNFO.itcl)]

I just had to edit a part of the tcl tho to get it to show ftp codes on the status window.

iputs -nobuffer "250- [gets $nfoFile]"

PaRaNoiD_JaCK is offline   Reply With Quote
Old 01-19-2006, 01:40 PM   #4
0perat0r
Junior Member
 
0perat0r's Avatar
 
Join Date: Jan 2006
Posts: 7
Default

Hi,
you write...
Quote:
Originally Posted by PaRaNoiD_JaCK
I`m using your script at the moment to show nfo on dir changes with the following ioftpd.message file.

%[execute(TCL ..\scripts\iojNFO\iojNFO.itcl)]

I just had to edit a part of the tcl tho to get it to show ftp codes on the status window.

iputs -nobuffer "250- [gets $nfoFile]"

I used the same script, my questionist is, how i can build that into the ioftpd.message? You write by %[execute(TCL ..\scripts\iojNFO\iojNFO.itcl)], but how i can automate that, so that it is written into each file.

Thx for help
0perat0r is offline   Reply With Quote
Old 01-19-2006, 01:44 PM   #5
PaRaNoiD_JaCK
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default

use your zipscript to add it to the ioftpd.message.
PaRaNoiD_JaCK is offline   Reply With Quote
Old 01-19-2006, 05:06 PM   #6
0perat0r
Junior Member
 
0perat0r's Avatar
 
Join Date: Jan 2006
Posts: 7
Default

Hi,
Quote:
Originally Posted by PaRaNoiD_JaCK
use your zipscript to add it to the ioftpd.message.
i m using ioZS, can you tell me more precisely where to add %[execute(TCL ..\scripts\iojNFO\iojNFO.itcl)] i dont know where
0perat0r is offline   Reply With Quote
Old 01-20-2006, 02:01 AM   #7
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 529
Default

some zipscripts can add .nfo files to ioFTPD.mesasage
dont know about ioZS
%[execute(TCL ..\scripts\iojNFO\iojNFO.itcl)] will not add it to ioFTPD.message
it will show u the .nfo file on CWD when ioFTPD.message is automaticaly shown
jeza is offline   Reply With Quote
Old 01-20-2006, 10:28 AM   #8
0perat0r
Junior Member
 
0perat0r's Avatar
 
Join Date: Jan 2006
Posts: 7
Default

Hi,
yes, i could add it by a batch file @echo %%[execute(TCL ..\scripts\iojNFO.itcl)] >> .ioFTPD.message but between the race-stats and the @echo %%[execute(TCL ..\scripts\iojNFO.itcl)] >> .ioFTPD.message is a text like this:
Code:
î‘|x2 ÿÿÿÿ    =’|„% u�|    ÿÿÿÿ   €      Ä  l% 	      P%   Z! Ä     x2 ‘| ÜýˆÃ¢‘|u€|À              *% ¸G2        ˜€|`É8|l   ¸G2 `É8|°G2   À        °G2 Œ% ¸G2 (& ó™ƒ|Ø›€|ÿÿÿÿ˜€|Ý46|À  ¸G2    ð%     `É8|l              
$4|Å15|*2 Å66|   â66|   Hµ8|Þ(     & ¸4|œ& 
$4|8|ÿÿÿÿâ66|¡›6|   ¸G2    Hµ8|͹6|Hµ8|; 7 Hµ8|O!4|0&2 ¬& ï  °& Z¤6|�& ¦
A Ä&       Ú& ýÿÿÙ&     ¢–4|          ‡5|•     *¸@ Ø& 7 ; ˜M 8 À"A 06  •  î      
The text prevents that the nfo is being printed.
How can i disable or how can i delete the "crap-text" ?
Have someone maybe any idea?
0perat0r is offline   Reply With Quote
Old 01-20-2006, 11:02 AM   #9
PaRaNoiD_JaCK
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default

Code:
/* Output variables */


$message_header			= "%[execute(TCL ..\scripts\iojNFO\iojNFO.itcl)]";
						  
						  
$message_user_header	= "";
						
$message_user_body		= "";
$message_user_footer	= "";
					

$message_group_header	= "";
						 
$message_group_body		= "";
$message_group_footer	= "";
		     			 

$message_mp3 			= "";
						  
$message_imdb			= " ";
						  
$message_footer			= "";
This is from phppsio config. i`m sure something is simlar in ioZS. As jeza says it just executes the script on entry to the directory.
PaRaNoiD_JaCK is offline   Reply With Quote
Old 01-20-2006, 12:25 PM   #10
0perat0r
Junior Member
 
0perat0r's Avatar
 
Join Date: Jan 2006
Posts: 7
Default

Hi,
the ioZS can t handle the .ioFTPD.message like phppsio with header, body and footer.
I will try in the ioZS thread, maybe someone know a possibility how to do...
0perat0r is offline   Reply With Quote
Old 02-28-2006, 04:16 PM   #11
Stylewalker
Junior Member
 
Join Date: Nov 2005
Posts: 20
Default

Hi
is it possible to run this script with the free version of banana?
where do i have to put this %[execute(TCL ..\scripts\iojNFO\iojNFO.itcl)] to execute it while chaning a dir?

greetz
Style
Stylewalker is offline   Reply With Quote
Old 03-01-2006, 01:56 AM   #12
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 529
Default

some zip scripts have option to add your own text to .ioFTPD.message file for each release.
dont know about banana.
jeza is offline   Reply With Quote
Old 03-01-2006, 10:35 AM   #13
Stylewalker
Junior Member
 
Join Date: Nov 2005
Posts: 20
Default

so,
which one do you use?
Stylewalker is offline   Reply With Quote
Old 03-02-2006, 01:34 AM   #14
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 529
Default

iojZS
jeza is offline   Reply With Quote
Reply

Tags
add, iojnfo, nfo, nfos, tcl

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 08:23 AM.

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