Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-03-2003, 08:06 AM   #1
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default 5.2.14

All:
- New: Tcl commands
- Change: Unregistered version will not initialize properly, if executable has been renamed

TCL:

USER
CREATE <UserName>
- Returns >= 0 on success (user id)
DELETE <UserName>
- Returns 0 on success
RENAME <UserName> <NewUserName>
- Returns 0 on success

GROUP
CREATE <GroupName>
- Returns >= 0 on success (group id)
DELETE <GroupName>
- Returns 0 on success
RENAME <GroupName> <NewGroupName>
- Returns 0 on success

USERFILE
OPEN <UserName>
- Returns 0 on success
LOCK
- Returns 0 on success
UNLOCK
- Returns 0 on success
ASCII2BIN <String>
- Retruns 0 on success, string contains userfile in ascii format (userfile must be locked, or command will fail!)
BIN2ASCII
- Returns userfile in ascii format on success
RELOAD
- Updates cache
ISOPEN
- Returns user id of currently open userfile

GROUPFILE
OPEN <GroupName>
- Returns 0 on success
LOCK
- Returns 0 on success
UNLOCK
- Returns 0 on success
ASCII2BIN <String>
- Retruns 0 on success, string contains groupfile in ascii format (groupfile must be locked, or command will fail!)
BIN2ASCII
- Returns groupfile in ascii format on success
ISOPEN
- Returns group id of currently open groupfile

TIMER <TimeOut> <Event>
- Returns 0 on success, event uses same format as events in ini (TCL ../scripts/timerproc.itcl)

SHA1 <String>
- Returns sha1 hash for string on success

MOUNTFILE
OPEN <FileName>
- Returns 0 on success

CLIENT
WHO INIT <arg1> ... <argN>
* Valid arguments are: REALPATH, REALDATAPATH, VIRTUALPATH, VIRTUALDATAPATH, TRANSFERSPEED, TRANSFERSIZE, STATUS, LOGINTIME, TIMEIDLE, HOSTNAME, IDENT, IP, UID, CID
- Returns 0 on success
WHO FETCH
- On success returns list of selected items, in selected order (use lindex to extract)
darkone is offline   Reply With Quote
Old 11-03-2003, 09:46 AM   #2
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

sounds great... I'm sure peeps with the right knowledge will be more then happy to use this
wooolF[RM] is offline   Reply With Quote
Old 11-03-2003, 05:45 PM   #3
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

thanks,

so with MOUNTFILE, this will return error if a file is already open (MOUNTed) by another iTCL ? and this can be used on any file ?
b>d>>s is offline   Reply With Quote
Old 11-03-2003, 06:10 PM   #4
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

In the userfile.h struct, mountfile is .vfs file and nothing else. So I doubt it has anything to do with file locking per se.
dasOp is offline   Reply With Quote
Old 11-03-2003, 08:24 PM   #5
PaJa
Member
 
Join Date: Jul 2003
Posts: 53
Default

Quote:
Originally posted by wooolF[RM]
sounds great... I'm sure peeps with the right knowledge will be more then happy to use this
Yeah!!! Great!!! Thanx d1
PaJa is offline   Reply With Quote
Old 11-04-2003, 03:44 AM   #6
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Quote:
Originally posted by b&gt;d&gt;&gt;s
thanks,

so with MOUNTFILE, this will return error if a file is already open (MOUNTed) by another iTCL ? and this can be used on any file ?
No mountfile returns only error when it can't be opened/is not valid. It will replace the current mountfile (if any) for the itcl instance (and resolve, will be using it over the user's current mountfile)
darkone is offline   Reply With Quote
Reply

Tags
format, groupfile, returns, success, userfile

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:27 PM.

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