File: config.py

package info (click to toggle)
pyftpd 0.8.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 524 kB
  • ctags: 448
  • sloc: python: 2,748; sh: 80; makefile: 43
file content (23 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

initial_msg = 'Welcome to pyftpd. Happy downloading.'
do_debug = 0
sbufsize = 16000 # size of send buffer
rbufsize = 16000 # size of receive buffer
modules = ['auth_anonymous_module',
 'auth_db_module',
 'ban_module',
 'fs_chroot_module',
# 'fs_real_module',
 'cwd_module',
 'speed_module',
 'limit_module',
 'iplimit_module',
 'bsd_list_module',
 'perm_acl_module',
 'log_format_module']

timeout_data = 120 # timeout for data connection
timeout_session = 300 # timeout for control connection
initial_wd = '/home/ftp' # initial working directory
port = 2121 # default port