Support This Project

Backend Sqlite

Description

Backend sqlite store user and group account details in a sqlite database.

Require

Backend sqlite require sqlite3 (libsqlite3 and libsqlite3-dev) at the build time and at less libsqlite3 at runtime.

Initialize the database file

# sqlite3 users.db < /path/to/wzdftpd/src/backends/sqlite/sqlite_tables_create.sql

The command will create tables and insert a default user (wzdftpd:wzdftpd(*@127.0.0.1)) and a default group (admin).

Configuring wzdftpd

First you have to choise the sqlite backend. Library's name depend on build tools.

  [GLOBAL]
  backend = /path/to/wzdftpd/backend/libwzd_sqlite.so

Next Sqlite backend need the path of the user db created above.

  [sqlite]
  param = /path/to/wzdftpd/sqlite/users.db