Go Back   FlashFXP Forums > > > >

St0rm's scripts StormDICE, StormAPPROVE, StormSEARCH, StormRW, StormNEW, StormZS, StormRULES, StormNFO, StormACTIVITY

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-25-2004, 06:51 PM   #1
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default StormNEW - site new command

A nice 'site new' command for ioftpd. Also supports 'site new <number>'. Standard output looks like this, but is modifieable in the .ini:

Code:
[R] site new
[R] 200- +---------------------------------------------------+
[R] 200- | Showing 10 latest directories:                    |
[R] 200- +----+----------------------------------------------+-----------+--------------+
[R] 200- | ## |                               Directory Name |     Owner | Date Created |
[R] 200- +----+----------------------------------------------+-----------+--------------+
[R] 200- |  1 |                                       sdfsdf |    ioFTPD |   26-01-2004 |
[R] 200- |  2 |                                  sdgdfahgdfr |    ioFTPD |   26-01-2004 |
[R] 200- |  3 |                                      sdgsdaf |    ioFTPD |   26-01-2004 |
[R] 200- |  4 |                                      test123 |    ioFTPD |   26-01-2004 |
[R] 200- |  5 |                                safsagdhdfhfh |    ioFTPD |   26-01-2004 |
[R] 200- |  6 | ghfsjhtfsdhgfdsgdfsgdflkgjdflgkdfjlgkdfgd... |    ioFTPD |   26-01-2004 |
[R] 200- |  7 |                                       sdfsdf |    ioFTPD |   26-01-2004 |
[R] 200- |  8 |                                       fghdfh |    ioFTPD |   26-01-2004 |
[R] 200- |  9 |                                      dsfhdfh |    ioFTPD |   26-01-2004 |
[R] 200- | 10 |                                         dsfh |    ioFTPD |   26-01-2004 |
[R] 200- +----+----------------------------------------------+-----------+--------------+
[R] 200 Command successful.
Hope anyone finds this usefull

Edit: Download this script at http://www.ioftpd.com/scripts/

Greetz,

Storm.
St0rm is offline   Reply With Quote
Old 01-25-2004, 07:34 PM   #2
The0ne
Member
 
Join Date: May 2003
Posts: 42
Default

ah nice alternative script

btw how about adding instead of 'date', '30mins , 40mins, to show how old that dir is' instead of date hehe.
The0ne is offline   Reply With Quote
Old 01-26-2004, 02:57 AM   #3
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

Thx, might add that later today.

Edit: Calculating when the dir is created is kinda hard with my system, since "date created" is stored in stormnew.dat, and not calculated 'on the fly'.
St0rm is offline   Reply With Quote
Old 01-28-2004, 03:21 PM   #4
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

Update: V1.1

This version is compatible with iofptd 5.6.0 and up ONLY. Update was necessary because of the changes in the environment. If you use an older version of ioftpd, use V1.0
St0rm is offline   Reply With Quote
Old 02-20-2004, 08:30 AM   #5
ferran
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 54
Default

wich is the line i should use to include latest created directories in the server every time a user logs in?

I'm using this but it doesn't work:

%[execute](EXEC ..\scripts\stormnew\stormnew.exe)(new)

yeah i know... shoot me i'm lam3
ferran is offline   Reply With Quote
Old 02-20-2004, 08:41 AM   #6
ferran
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 54
Default

found it...

%[execute(EXEC ..\scripts\stormnew\stormnew.exe)(new)]
ferran is offline   Reply With Quote
Old 02-20-2004, 10:06 AM   #7
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

Nice, I learned something new today
St0rm is offline   Reply With Quote
Old 02-20-2004, 11:31 AM   #8
ferran
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 54
Default

wel... if you need to learn something else just pm me

i can teach you one or two things more...

ferran is offline   Reply With Quote
Old 03-13-2004, 09:46 AM   #9
r0adrunn3r
Junior Member
 
Join Date: Nov 2003
Posts: 10
Default

Is it possible that the site new command doesnt show the cd1 and cd2 dirs at all?
It works if the cd1 and cd2 folders are empty, but as soon as one file is in there, they are shown in site new command.
thx for your work

greetz

r0adrunn3r
r0adrunn3r is offline   Reply With Quote
Old 03-13-2004, 02:05 PM   #10
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

I'm gonna rewrite it anyway, so ill fix that then.
St0rm is offline   Reply With Quote
Old 04-23-2004, 11:05 AM   #11
luke2k4
Member
 
Join Date: Apr 2004
Posts: 37
Default

hi, what about an update including the time of the rel not only date ? would be n1

greetzs
luke2k4 is offline   Reply With Quote
Old 04-23-2004, 01:34 PM   #12
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

Quote:
Originally posted by luke2k4
hi, what about an update including the time of the rel not only date ? would be n1

greetzs
you should read a few posts up ...
hot_pit is offline   Reply With Quote
Old 05-21-2004, 11:06 PM   #13
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

Nice script.
Quote:
I'm gonna rewrite it anyway, so ill fix that then.
Any progress update? Also could you make the header and footer customizable so we can make it fit with our overall site looks.
For example:
Code:
[R]ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
[R]                                             Á
[R]             l a t e s t  d i r s
[R]                                             Â
[R]ÀÄÂÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÙ
instead of:
Code:
[R] +---------------------------------------------------+
[R] | Showing 10 latest directories:                    |
[R] +----+----------------------------------------------+
Would be cool if ppl could edit that part..thx.
PopWeasel is offline   Reply With Quote
Old 05-23-2004, 10:56 AM   #14
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

I currently don't have much spare time to code scripts, and I'm working on a bigger (cooler!) project most of that time, so don't expect a rewritten version too soon.
St0rm is offline   Reply With Quote
Reply

Tags
200-, 26-01-2004, download, ioftpd, [r]

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 01:36 AM.

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