Old 04-13-2005, 04:20 PM   #1
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default ioINI v2.0 out...

ioINI v2.0 totally re-worked version !

Usage: SITE INI <section> <item> <value>

<section> The ioFTPD.ini section-name.
<item> The item-name.
<value> The item-value.

Note: Changes existing values in ioFTPD.ini directly or
add a new <item> to <section> with <value>.

Examples:

SITE INI Any Ports 55000-56000
SITE INI Any Global_Outbound_Bandwidth 5000
SITE INI FTP_Service User_Limit 50
SITE INI FTP_Service Port 21
SITE INI FTP_Custom_Commands newcmd EXEC ..\\scripts\\xxx.exe
SITE INI FTP_SITE_Permissions newcmd M


...you can also create various useful aliases with the example below (see codebox)....

like:

SITE INI FTPPORT 5555
SITE INI FTPPASV 51000-52000


and so on...

Installation:

1) copy the "ioINI"-Dir from ZIP-file to ..\Scripts\
2) configure path to ioFTPD.ini in ioINI.ini
3) add the lines below to your ioFTPD.ini
Code:
[FTP_Custom_Commands]

ini = EXEC ..\scripts\ioINI\ioINI.exe  

#### here are some sample aliases for ini-cmd ;-)  ###

ftphost = @ini Any Host
ftppasv = @ini Any Ports
ftprandom = @ini Any Random
ftpglobalin = @ini Any Global_Inbound_Bandwidth
ftpglobalout = @ini Any Global_Outbound_Bandwidth
ftpclientin = @ini Any Client_Inbound_Bandwidth
ftpclientout = @ini Any Client_Outbound_Bandwidth
ftpport = @ini FTP_Service Port
ftpuserlimit = @ini FTP_Service User_Limit
ftpidletimeout = @ini Ftp Idle_Time

[FTP_SITE_Permissions]

ini = M

ftphost = M
ftppasv = M
ftprandom = M
ftpglobalin = M
ftpglobalout = M
ftpclientin = M
ftpclientout = M
ftpport = M
ftpuserlimit = M
ftpidletimeout = M
4) rehash the config
5) if you use ioHELP-script, just copy "ini.site" to your "iohelp\site" path



known limitations:

1) Cannot automatically rehash config. After SITE INI command a manual "config rehash" must done.
2) Doesn't support duplicate item-entries per design (program uses windows-internal standard-"ini"-procs)


have fun
__________________
- 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
Old 04-13-2005, 04:57 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

You could have just used the SITE CONFIG command...
neoxed is offline   Reply With Quote
Old 04-13-2005, 05:22 PM   #3
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

...that's absolutelly correct Neoxed,
of cause you can do it with some SITE CONFIG commands too,
but I think this here is much easier and more flexible.
__________________
- 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
Old 04-13-2005, 05:31 PM   #4
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

personally i see no use for a script duplicate of an implicit io function
mr_F_2 is offline   Reply With Quote
Old 04-13-2005, 05:45 PM   #5
inside
Member
ioFTPD Foundation User
 
Join Date: Dec 2004
Posts: 51
Default

it St a b0n script because that will use to me to limit the band-width of the users
inside is offline   Reply With Quote
Old 04-13-2005, 05:50 PM   #6
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

Quote:
Originally posted by mr_F
personally i see no use for a script duplicate of an implicit io function

I'm not duplicating...


1) "SITE CONFIG" standard method
=========================


site config show FTP_Service
### [FTP_Service]
000:
001: Type = FTP
002: Device_Name = Any
003: Port = 9999
004: Description = My FTP Service
005: User_Limit = 50
006: Allowed_Users = *
007: Messages = ..\text\ftp
...
...

site config replace FTP_Service 5 User_Limit = 100

site config show FTP_Service
### [FTP_Service]
000:
001: Type = FTP
002: Device_Name = Any
003: Port = 9999
004: Description = My FTP Service
005: User_Limit = 100
006: Allowed_Users = *
007: Messages = ..\text\ftp
...
...

site config save

ready


2) "SITE INI" method
===============


site ini FTP_Service User_Limit 100



..and ready




let the people decide themselves...
__________________
- 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
Old 04-20-2005, 02:02 PM   #7
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

i'm sold
testing it out now


... hmm, stil have to site rehash after
mr_F_2 is offline   Reply With Quote
Old 04-21-2005, 11:55 PM   #8
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

...then add

ini=@config rehash

after the

ini=EXEC ..\scripts\ioINI\ioINI.bat

line, if you wanna do it automatically...


__________________
- 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
Old 07-18-2005, 03:52 PM   #9
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

Quote:
Originally Posted by Grendel
...then add

ini=@config rehash

after the

ini=EXEC ..\scripts\ioINI\ioINI.bat

line, if you wanna do it automatically...



an automatically REHASH after the command is not working...don't know why...
sorry guys, you have to REHASH manually.....shouldn't be a big problem
__________________
- 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
Old 12-24-2005, 03:34 PM   #10
mr_F
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 33
Default heads up

download for this is broken in the scripts section
mr_F is offline   Reply With Quote
Old 12-24-2005, 06:33 PM   #11
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

Quote:
Originally Posted by mr_F
download for this is broken in the scripts section
thanks for info, mr_F
you're right...

I can't download it myself from scripts-section too...

I don't know why, but I CAN download it perfectly inside my own customer portal. Very strange....
The file seems to be correct on the server and is not corrupted in any way,
so - I guess - it's a problem with scripts-download-section in this case.

Maybe an admin can have a look on this problem ? Thanks...
__________________
- 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
Old 12-24-2005, 09:00 PM   #12
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default ioINI v2.0 out...

I added ioINI v2.0 in scripts-download now...
It's a totally re-worked version as single .exe-file (with ini)
read new readme.txt file for further infos.

new syntax is now...
Code:
ini = EXEC ..\scripts\ioINI\ioINI.exe
If someone wishes a delete-option for ini-items /ini-section,
please tell me...
have fun...

------------------------

btw.... can someone tell me
why error 500-Invalid argument:
comes when I try to auto-rehash ???
Code:
ini = EXEC ..\scripts\ioINI\ioINI.exe
ini = @config rehash
__________________
- 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
Old 12-25-2005, 05:15 PM   #13
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

I deleted the old broken v1.0 in download section, no need to keep it any longer alive...
__________________
- 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
@ini, ftp, ftp_service, ini, site

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:28 AM.

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