• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ac-helpers/H03-May-2022-1,5921,380

backends/H03-May-2022-8,6735,927

cmake/H03-May-2022-1,059882

debian/H07-May-2022-1,371897

gentoo/H28-Oct-2007-497417

gnu_regex/H28-Oct-2007-5,4483,099

init.d/H28-Oct-2007-155117

libwzd/H03-May-2022-1,864942

libwzd-auth/H03-May-2022-2,8191,727

libwzd-base/H03-May-2022-1,516718

libwzd-core/H03-May-2022-40,44427,095

libwzd-perl/H03-May-2022-1,330840

m4/H28-Oct-2007-7,5266,814

man/H03-May-2022-304282

modules/H03-May-2022-9,0345,932

redhat/H28-Oct-2007-262167

sitebot/H28-Oct-2007-676433

tests/H03-May-2022-2,5101,897

tools/H03-May-2022-405277

visual/H03-May-2022-10,0306,927

win-installer/H07-May-2022-218217

wzdftpd/H03-May-2022-3,8942,986

AUTHORSH A D28-Feb-2006348 2014

COPYINGH A D15-Apr-200317.6 KiB341281

CTestConfig.cmakeH A D16-Oct-2006243 76

ChangeLogH A D14-Oct-200771.6 KiB2,0001,354

INSTALLH A D03-Dec-20052.5 KiB9068

MakefileH A D19-Jun-20072.4 KiB7957

Makefile.amH A D03-May-2022495 2415

NEWSH A D09-Jul-20075.7 KiB165115

Permissions.ReadMeFirstH A D10-Oct-20021.8 KiB4738

READMEH A D12-Apr-20074.5 KiB13088

TLS.ReadMeFirstH A D31-May-20031 KiB3723

UPGRADINGH A D21-Sep-20061.3 KiB4529

VERSIONH A D14-Oct-20076 21

acinclude.m4H A D20-Jan-200514 KiB412359

bootstrapH A D21-Jan-2005877 4627

config.h.cmakeH A D14-Oct-2007980 3432

configure.inH A D05-Jul-20079.9 KiB380316

doxygen.cfgH A D15-Mar-200751 KiB1,261898

install-shH A D03-Apr-20035.5 KiB252153

rollingbuild.shH A D12-Dec-2005833 5226

stamp-h.inH A D15-Apr-200410 21

wzd-config.cmakeH A D29-Jan-20072.2 KiB142107

wzd-config.inH A D13-Jun-20062.1 KiB142110

wzd.m4H A D21-Jul-20063.8 KiB124108

wzd_tls.cnfH A D31-May-20021.1 KiB3627

wzd_version.h.cmakeH A D10-Oct-2006219 105

wzd_version.h.inH A D25-Sep-2006212 85

wzdftpd.pc.cmakeH A D18-Mar-2007552 1916

wzdftpd.pc.inH A D18-Mar-2007635 2218

README

1wzdftpd is a modular cross-platform multi-threaded FTP server which is in active development. You
2can run wzdftpd on Linux, Windows, FreeBSD or OpenBSD and it is entirely configurable online using
3SITE commands.
4
5This program is free open source software. You can redistribute it and/or modify it under the terms
6of the GNU General Public License as published by the Free Software Foundation; either version 2 of
7the License, or (at your option) any later version.
8
9
10Documentation / Support:
11========================
12
13The documentation is located on the website: http://www.wzdftpd.net
14
15IRC
16===
17
18If there's something you just can't find out elsewhere, you want to give feedback directly to the
19authors or you're just bored, visit #wzdftpd on irc.freenode.net
20
21
22
23Get Support
24===========
25
26
27wzdftpd-users mailing list archives can be accessed at:
28        http://lists.sourceforge.net/mailman/listinfo/wzdftpd-users
29
30
31
32Quickstart:
33===========
34
35Linux (Debian)
36--------------
37Simply run apt-get install wzdftpd. Other packages are available: wzdftpd-mod-perl and wzdftpd-mode-tcl.
38
39Linux (rpm-based distros)
40-------------------------
41rpms are available on sourceforge. Download the rpms you want to install, and run rpm -ivh wzdftpd-0.4.3-1.i386.rpm
42
43FreeBSD
44-------
45wzdftpd is in the ports list, so you can install it in the usual way. More details are given in ChapterFreeBSD
46
47Windows
48-------
49Installer files are packaged on sourceforge. Download and execute the installer.
50
51
52
53First Configuration
54===================
55
56Basics
57------
58
59The configuration is stored into one single file, called wzd.cfg. The server itself is composed of
60one executable (wzdftpd) and one lib (libwzd_core). You should also have another shared lib, the
61backend (libwzd_plaintext). This module will manage all users and groups, and the backend plaintext
62uses a simple text file (users) to store all the information related to users and groups.
63
64Server Configuration
65--------------------
66
67Edit wzd.cfg with your favorite editor (it is a simple text file). This file should be commented
68and easy to understand, you can refer to the Config File Directives reference for the complete
69list.
70
71The important values you may want to change are the server port, the passive range, or the logs
72files location. Please also ensure the the server is allowed to write the pid file (config:
73pid_file).
74
75Once the server configuration is ok, you can start the server, wzdftpd provides an init.d script to
76control server: /etc/init.d/wzdftpd start
77
78Check that no error messages are displayed on screen, and that the process wzdftpd is running (ps ax
79| grep wzd should be enough). If the process is not present, check in wzdftpd's logs for details on
80error.
81
82Adding first users
83------------------
84
85The server should be running now. To add the first users, we'll connect using an ftp client (I have
86a preference for console-based ones, especially for site commands, but any client will be ok). The
87default login is wzdftpd, and the password is wzdftpd. You have to connect from the same host where
88the server is installed for the first time, this is a basic security precaution. ex:
89
90$ lftp -u wzdftpd localhost
91Password:
92lftp wzdftpd@localhost:~> site version
93200 wzdftpd i686-pc-linux-gnu mt 0.5.0 build 20041021 (threads,debug,ipv6,utf8)
94
95The site version command is not usefull, it is just here to check that the server is running, and
96that the login is ok.
97
98Before adding the new user, we have to set the home directory for the group users. Home directories,
99like some other properties, are inherited by users when created in a group, so we'll position the
100homedir now.
101
102lftp wzdftpd@localhost:/> site grpchange users homedir /home/ftp
103200 Group field change successfull
104lftp wzdftpd@localhost:/> site groups
105200-
106...
107| users | 1:3 | 0 | 0 | 0 | /home |
108...
109200
110
111Please also note that, by default, all users have an upload/download ratio of 1/3. If you want to
112remove the ratio, use the following:
113
114lftp wzdftpd@localhost:/> site grpchange users ratio 0
115200 Group field change successfull
116
117Adding a new user is done from the client, using the site adduser command:
118
119lftp wzdftpd@localhost:/> site adduser
120501 site adduser <user> <password> [<group>] [<ip1> <ip2> <...>]
121
122lftp wzdftpd@localhost:/> site adduser my_user my_pass users *@*
123200 User added
124
125The first command, site adduser without arguments, prints a small help message. Many commands are
126self-documented that way in wzdftpd. The second command adds a new user called my_user, with initial
127password my_pass. It also puts my_user in group users, and allows connection from any host (*@*),
128all in one command.
129
130