View Single Post
Old 04-08-2004, 02:05 PM  
Zer0Racer
Senior Member
 
Join Date: Oct 2002
Posts: 703
Default Re: suggestion to newdir

Quote:
Originally posted by odd
Got a suggestion that could be cool.

By useing .ioFTPD.MESSAGE files in your sections(dir1 dir2 dir3) dirs add cookies for newdir to support latest output in its section dir. So when u enter dir1 on your ftp newdir will show like top5 or top10 uploaded dirs in section dir1.

Instead of typing "site new" everytime u logg in to the server u will only have to enter dir and look in your status(ffxp) to see latest dirs in this section. This would tho require ppl to do their own ioFTPD.MESSAGE.

What do u think?
This has been possible for a very long time. Just put your own .ioFTPD.message in whatever section put something like this in the message file to show 10 latest uploads in mp3 section:
Code:
%[execute(TCL ..\scripts\newdir\OnSiteNew.itcl)(10 mp3)]
If the output shows without ftp reply code use a third parameter ie:
Code:
%[execute(TCL ..\scripts\newdir\OnSiteNew.itcl)(10 mp3)(250-)]
Use 250- and not only 250 as it would limit output to ~1 line per sec. The dash means line part of multiline output.
Zer0Racer is offline   Reply With Quote