雖然在 RFC-2640 中, 並沒有提到這個地方要如何處理. 所以也不能說作者目前的做法是不對的. 畢竟 Server 也送出了 UTF8 這個 Feature, 接下去, 應該就表示後續的資料是 UTF-8 編碼.
不過, 事實上是, 當一個不支援 UTF-8 的 client, 它是不可能知到要使用 OPTS UTF8 OFF 指令來關閉 UTF-8 的支援.
所以... 結果就是, 當我們使用不支援 UTF-8 的 ftp client 連線到新版的 FileZilla Server 時, 只要不是英文字, 就變成亂碼了.
我不確定作者會不會修改這個問題 (應該最後還是會吧), 如果不會... 有需要的人, 可能只有這幾個選擇了:
- 用舊版的 (也就不能同時使用多國語言, 沒有 UTF-8 的功能).
- 強迫使用者換用 FileZilla Client 或其它支援 UTF-8 的程式來連線.
- 自己改程式.
至於你問我會怎麼做? 如果那天我有這個需求時, 作者也沒改的話, 也許我會自己改吧.
看來目前 filezilla 的作者似乎不想改, 他的建議是改用 filezilla client 就解決了.
2006/6/22: 我的修改方式在這兒.
你好,我在编译filezilla client时遇到了问题,需要你的帮助。如果你愿意帮助我的话,请加我的MSN
[email protected]好吗?
我發現 登入10次 之後會變緩慢>
而且只要stop server 在 start server
就變順暢了!!
順暢的時候 我連進去 不打帳號 關掉是這樣
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> Connected, sending welcome message...
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> USER anonymous
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> 331 Password required for anonymous
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> PASS *******
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> 530 Login or password incorrect!
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> disconnected.
不正常是這樣~~緩慢的時候
(000012) 2007/11/15 下午 19:49:07 - (not logged in) (我的IP)> Connected, sending welcome message...
(000012) 2007/11/15 下午 19:49:07 - (not logged in) (我的IP)> 220 FileZilla Server version 0.9.24 beta
(000012) 2007/11/15 下午 19:49:12 - (not logged in) (我的IP)> USER anonymous
(000012) 2007/11/15 下午 19:49:12 - (not logged in) (我的IP)> 331 Password required for anonymous
(000012) 2007/11/15 下午 19:49:17 - (not logged in) (我的IP)> 421 Login time exceeded. Closing control connection.
(000012) 2007/11/15 下午 19:49:17 - (not logged in) (我的IP)> disconnected.
而且只要stop server 在 start server
就變順暢了!!
順暢的時候 我連進去 不打帳號 關掉是這樣
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> Connected, sending welcome message...
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> USER anonymous
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> 331 Password required for anonymous
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> PASS *******
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> 530 Login or password incorrect!
(000002) 2007/11/15 下午 21:03:25 - (not logged in) (60.248.58.128)> disconnected.
不正常是這樣~~緩慢的時候
(000012) 2007/11/15 下午 19:49:07 - (not logged in) (我的IP)> Connected, sending welcome message...
(000012) 2007/11/15 下午 19:49:07 - (not logged in) (我的IP)> 220 FileZilla Server version 0.9.24 beta
(000012) 2007/11/15 下午 19:49:12 - (not logged in) (我的IP)> USER anonymous
(000012) 2007/11/15 下午 19:49:12 - (not logged in) (我的IP)> 331 Password required for anonymous
(000012) 2007/11/15 下午 19:49:17 - (not logged in) (我的IP)> 421 Login time exceeded. Closing control connection.
(000012) 2007/11/15 下午 19:49:17 - (not logged in) (我的IP)> disconnected.
能不能改成 每10次登入 就重新 start server
請跟 FileZilla 的作者反應吧.
不過, 我不認為你提出的說明足夠讓作者了解問題在那兒, 因為我自己沒碰過你說的問題, 也沒看到有人跟作者反應類似的問題.
也許是你的機器有什麼程式會造成反應變這麼慢而逾時吧.
而且, 依據任何一個寫程式的人來看, 也不可能用你說的解決方法吧.