|
【類別】:網路資源 |
架設 FTP Server(九) |
# 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 參數來指定不同的檔名。 message_file=.message 預設 .message。配合上一個參數來使用。 # Activate logging of uploads/downloads. xferlog_enable=YES 預設 NO。是否要將 client 上傳及下載的資訊記錄下來,若設定 YES,則記錄這些資訊的檔案是由 xferlog_file 或 xferlog_std_format 參數來決定。 # 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 預設 NO。匿名使用者上傳檔案後,是否允許安排檔案的擁有者為另一個使用者而非 ftp。若設定成 YES,可搭配 chown_username 參數去指定該檔案的擁有者是誰,如沒指定,則預設為 root。請注意這裡是針對檔案,且只能變更擁有者,至於擁有群組還是 ftp。 # chown_username=whoever 預設 root。需搭配 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. 預設不顯示。設定使用者登入時所顯示的歡迎訊息,您可將註解拿掉,然後輸入想讓使用者登入時看到的歡迎訊息。 |
|
[推薦評價好店]- 4C快修連鎖門市 專業維修買賣 - 筆電 + 手機 + 電腦 + Iphone + Ipad 新北汐止店 (02) 7751-9182 新北市汐止區福德一路86巷22號 汐止修手機.汐止修iphone.汐止修ipad.汐止修筆電.汐止修電腦 新北板橋店 (02) 8257-3990 新北市板橋區四維路137巷10號 板橋修手機.板橋修iphone.板橋修ipad.板橋修筆電.板橋修電腦 桃園大溪店 (03) 387-4353 桃園市大溪區中華路210號 大溪修手機.大溪修iphone.大溪修ipad.大溪修筆電.大溪修電腦 台中市區店 (04) 2201-1289 台中市南區台中路140號 台中修手機.台中修iphone.台中修ipad.台中修筆電.台中修電腦 |