# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
# anon_mkdir_write_enable=YES
預設 NO。設定是否允許匿名使用者建立新目錄。
# If set to YES, anonymous users will be permitted to perform
# write operations other than upload and create directory, such as
# deletion and renaming. This is generally not recommended but
# included for completeness.
# anon_other_write_enable=YES
預設 NO。設定是否允許匿名使用者具備其他的寫入權限,如刪除檔案目錄或對檔案目錄名稱重新命名。
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
預設 NO。設定成 YES 時,使用者切換至某個目錄時會顯示該目錄下 .message (預設) 檔案的內容。當然您也可以透過 message_file 參數來指定不同的檔名。
# You may override where the log file goes if you like. The default is shown
# below.
# xferlog_file=/var/log/vsftpd.log
當 xferlog_enable=YES 時,預設就是記錄在這個檔案。
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
預設 NO。是否啟用標準的 ftpd xferlog 格式來作為記錄檔,若設定成YES,則上傳下載的資訊將會記錄在 /var/log/xferlog內。另外若 xferlog_file 註解去掉且 xferlog_std_format=YES 時,會以 xferlog_file 為主。
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
預設 NO。在主動模式下建立資料通道時,是否啟用 20 port。
# listen_port=21
預設 21 port。設定在建立命令通道時所使用的 port。
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
# chown_uploads=YES
# You may change the default value for timing out an idle session.
# idle_session_timeout=600
預設 300 秒。設定使用者所能閒置的最大秒數,若設定 100 秒就表示使用者輸入指令後,如間隔 100 秒沒有動作,將會被斷線。
# You may fully customise the login banner string:
# ftpd_banner=Welcome to blah FTP service.
預設不顯示。設定使用者登入時所顯示的歡迎訊息,您可將註解拿掉,然後輸入想讓使用者登入時看到的歡迎訊息。