Chapter 12. FAQ

1. General Information
12.1.1. Can I run several servers on the same machine ?
12.1.2. When I start the server it displays no error but it isn't running (not present in the process list)
12.1.3. Site to site transfer (aka FXP) does not work !
12.1.4. I want to give access to a directory on another disk, should I choose symlinks or VFS ?
2. Linux
12.2.1. When I run the server with uid 0 (root) it complains it can't open file 'users' or commit changes
3. FreeBSD
12.3.1. I run wzdftpd and after that system says 'Bad system call(Core dumped)'
4. Config and commands
12.4.1. How do I add a custom site command ?
5. Backends
12.5.1. Can I edit the file 'users' ?

1. General Information

12.1.1. Can I run several servers on the same machine ?

Yes ! You will need to have a separate config file for each instance (look the -f option), and to specify at least different ports in each config file.

Remember wzdftp="ri >

./usr/share/doc/wzdftpd/html/directives_ref.html0000644000000000000000000002731210732513234022147 0ustar rootroot00000000000000 Directives reference

2.2. Directives reference

backend (default: plaintext)

The backend to use for authentication and user/group management. You can specify a test on the backend version if needed. See the glossary for explanation on what a backend is.

backend = /path/to/libwzdplaintext.so
backend = /path/to/libwzdplaintext.so > 122

In these two examples, backend will be called 'plaintext'

You need at least one backend.

backend_param_...

If backend needs an argument, specify it here. The argument depend on the backend used, see backend definition for details.

backend_param_plaintext = /path/to/users

This line must come after the definition of the backend.

cscript

Custom scripts (or binaries) to be executed before/after certain commands.

cscript = /path/to/exe
cscript = tcl:/path/to/script

data_buffer_length (default: 16384) (ADVANCED, > 0.3.3)

Change the size of the internal buffer used for data transfers.

data_buffer_length = 65536

Use this option carefully ! This can havea big impact on transfer rates.

deny_files_uploaded (default: 0)

Specify 1 here to deny access to files during their upload.

deny_access_files_uploaded = 1

dir_message

When changing current directory, the server will look for this file, and if present will append it to the end of the ftp reply.

dir_message = .message

dynamic_ip (default: 0)

If you specify 1 or an ip, the server will try to detect ip changes (e.g ADSL disconnections).

dynamic_ip = 1
dynamic_ip = xxx.myftp.org

0 means the option is deactivated, 1 the server will ask the system to find its ip, otherwise the server will perform DNS lookups

hide_dotted_files (default: 0)

Specify 1 here to hide files beginning with a dot ('.')

hide_dotted_files = 1

ip (default: *)

Specify server ip, to restrict server to a specific interface (usefull mainly for server with multiples interfaces).

ip = *
ip = 127.0.0.1

logdir (default: do not use log directory)

Location of a directory where the server will put various log files.