PDA

View Full Version : StormAPPROVE - site approve command


St0rm
02-13-2004, 11:25 AM
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-

DoofyMC
06-01-2004, 02:13 PM
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.

St0rm
06-01-2004, 04:15 PM
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?

DoofyMC
06-01-2004, 10:08 PM
oh....
you will laugh all the day...
i forget to upload the stormapprove.exe.... *g*
:D

DoofyMC
06-08-2004, 12:43 PM
I've still problems to get the folders...

i type:

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

[GENERAL]
FILE_OR_DIR="DIR"
APPROVE_LINE="Approved.by.%user"

ioFTPD.ini:

[Scripts]
approve = EXEC ..\scripts\stormapprove\stormapprove.exe
[Ftp-SITE-Permissions]
approve = 1M

St0rm
06-08-2004, 01:48 PM
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.

DoofyMC
06-08-2004, 02:04 PM
i've found the dirs...
they are under c:\
instead of c:\here\should\they\are\

St0rm
06-09-2004, 01:45 AM
I think I found the problem. Make sure you have all of the following lines in your ioftpd.env:


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.

DoofyMC
06-09-2004, 07:35 AM
THANKS A LOT....
now everything is alright...

maX1mus_2
04-09-2005, 04:18 AM
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

Grendel
04-09-2005, 08:40 AM
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/showthread.php?s=&threadid=4287