Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-13-2004, 11:25 AM   #1
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default StormAPPROVE - site approve command

StormAPPROVE V1.0

This script creates an 'approved' dir or file inside a release and announces approval on channel.
If the release doesn't exist yet, it creates the release and the approved dir or file inside it.

Usage: "site approve <releasename>"

See readme for installation instructions.
Source is included btw (Delphi 7)

Oh, yeah, if you want !approve, I think dzsbot can do that for you.

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

Greetz,

Storm-
St0rm is offline   Reply With Quote
Old 06-01-2004, 02:13 PM   #2
DoofyMC
Guest
 
Posts: n/a
Default

troubling...

site approve <release> is great...
and i get "Command Successful."
but no more...
the symlink isn't there and the real output isn't coming, too.
  Reply With Quote
Old 06-01-2004, 04:15 PM   #3
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

I just tested it, been a while since I looked at it, but it works fine for me. Paste your stormapprove.ini and the lines from ioFTPD.ini that are relevant to this script.
Oh and, btw, which version of ioFTPD are you using?
St0rm is offline   Reply With Quote
Old 06-01-2004, 10:08 PM   #4
DoofyMC
Guest
 
Posts: n/a
Default

oh....
you will laugh all the day...
i forget to upload the stormapprove.exe.... *g*
  Reply With Quote
Old 06-08-2004, 12:43 PM   #5
DoofyMC
Guest
 
Posts: n/a
Default

I've still problems to get the folders...

i type:
Code:
site approve test
and get:
site approve test
200- +-------------------------------+
200- | Release succesfully approved! |
200- +-------------------------------+
200 Command successful.
[/code]

But there is no dir in release folder...
i tested it twice. once with and once without creating release folder before...

here are my settings:
stormapprove.ini
Code:
[GENERAL]
FILE_OR_DIR="DIR"
APPROVE_LINE="Approved.by.%user"
ioFTPD.ini:
Code:
[Scripts]
approve = EXEC ..\scripts\stormapprove\stormapprove.exe
[Ftp-SITE-Permissions]
approve = 1M
  Reply With Quote
Old 06-08-2004, 01:48 PM   #6
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

Make sure you are not inside the dir you want to approve. Example:

There is a movie released called 'cool.movie-test'. To approve that, you go into your /movie/ folder, and type 'site approve cool.movie-test'. This will create the dir for you and also the approved dir. If the dir already exists, you do it the same way.
St0rm is offline   Reply With Quote
Old 06-08-2004, 02:04 PM   #7
DoofyMC
Guest
 
Posts: n/a
Default

i've found the dirs...
they are under c:\
instead of c:\here\should\they\are\
  Reply With Quote
Old 06-09-2004, 01:45 AM   #8
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

I think I found the problem. Make sure you have all of the following lines in your ioftpd.env:

Code:
SYSTEMPATH=%[$path]
VIRTUALPATH=%[$pwd]
UID=%[$uid]
GID=%[$gid]
USER=%[$user]
GROUP=%[$group]
These are all the environmentvariables used in the script. If any of these are missing, it probably won't work. So add them all in /ioftpd/etc/ioftfpd.env and restart ioFTPD.
St0rm is offline   Reply With Quote
Old 06-09-2004, 07:35 AM   #9
DoofyMC
Guest
 
Posts: n/a
Default

THANKS A LOT....
now everything is alright...
  Reply With Quote
Old 04-09-2005, 04:18 AM   #10
maX1mus_2
Member
 
Join Date: May 2004
Posts: 43
Default

Uhm, lo guys, what happend to download-link !?
Not even Stormrules anymore that i´ve downloaded erlier.

If you or anyone want space to host your script(s) i could help.

cheers
maX1mus_2 is offline   Reply With Quote
Old 04-09-2005, 08:40 AM   #11
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

Quote:
Originally posted by maX1mus
Uhm, lo guys, what happend to download-link !?
Not even Stormrules anymore that i´ve downloaded erlier.

If you or anyone want space to host your script(s) i could help.

cheers


you should read this...

http://www.ioftpd.com/board/showthre...&threadid=4287
__________________
- FlashFXP v4.0 BETA (v3.7.9 Build 1401) registered
- Windows 7 x64
- McAfee Antivirus Enterprise 8.7i Patch 2 + Antispyware 8.7i
Grendel is offline   Reply With Quote
Reply

Tags
approve, download, file, inside, release

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 06:59 PM.

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