This is an early documentation for Terje's FTP Deamon for OS/2 (zftpd).
zftpd comes in a packed file named zftpd###.zip
where the #'s are the version identification. This .zip file contain many files, these are:
file_id.diz
readme.txt
whatsnew.txt
zftpacct.exe
zftpd.cfg
zftpd.exe
zftpd.html
When running zftpacct
some files will be created to store the user, group and share information, these files are listed below and should only be changed with the use of zftpacct
or another administration program. Files are in binary format and can not be edited with a normal editor.
zftpd.usr
zftpd.grp
zftpd.sha
zftpd.mem
The following files will be created when running zftpd
:
zftpduse.log
First you will have to setup at least one user, one group and one share. The user also has to be member of a group.
Do the following:
This will make a user with the name "testusr" and the password "testpwd", and please note what userid it get, that will be needed to add the user to a group.
zftpacct -au testusr testpwd
This will make a group with the name "testgrp", also note the groupid given.
zftpacct -ag testgrp
This will make a share for "x:\path" with full access for both user and group.
zftpacct -as x:/path . rwx--rwx------- 0 0
And finally this will add the user testusr to the group testgrp. One user can be member in as many groups as needed.
zftpacct -am testgrp testusr
Now you should be ready to start the ftpd with the command:
zftpd -s
Usage: zftpd {parameters} -c[users] Max concurrent users (Default = 16) -p[port] Listen to specified port (Default = 21) -s Start deamon
Usage: zftpacct [parameters] -l[u|g|s] List users/groups or shares (u, g or s) -lu [username] List specific user with statistics -au [username] [password] {-g} Add a new user -ag [groupname] Add a new group -as [localpath] [ftppath] [access] Add a share [userid] [groupid] -am [groupname] [username] Add a user to a group -du [userid] Delete a user -dg [groupid] Delete a group -ds [shareid] Delete a share -dm [groupid] [userid] Remove a user from a group -cupc [username] [oldpassword] Change user password if old match [newpassword] Possible accesslevels are: r = read, w = write, x = execute, v = view only, n = no delete.
Please check the README.TXT for contact information.