前文〝
解決「『FileZilla』,無法開啟或不顯示視窗」問題〞,在 Fedora 25 測試時,似乎解決所有問題了。今日在 Fedora 24 測試時,卻仍有
延遲顯示視窗的問題,因此將前文略做修改,並再寫本文,以澈底解決 FileZilla 在 Fedora 最近幾版出現的『延遲顯示視窗』『無法啟動』這兩個問題。
前文只解決 AutoFS 和 lockfile 所造成的問題,但對延遲並沒有完全解決。再查了一下資料,有人提及『主動模式』『被動模式』可能是問題所在,因此研究了一下。再補足、修改筆者的測試心得,終於(可能、希望)解決這幾個問題了。
修改 FileZilla 設定檔
用「文字編輯器」開啟位於目錄 ~/.config/filezilla/ 下的 FileZilla 設定檔 filezilla.xml,如下所示:
<?xml version="1.0"?> |
<FileZilla3 version="3.17.0.1" platform="*nix"> |
| <Settings> |
| | <Setting name="Use Pasv mode">1</Setting> |
| | <Setting name="Limit local ports">0</Setting> |
| | <Setting name="Limit ports low">6000</Setting> |
| | <Setting name="Limit ports high">7000</Setting> |
| | <Setting name="Limit ports offset">0</Setting> |
| | <Setting name="External IP mode">0</Setting> |
| | <Setting name="External IP" /> |
| | <Setting name="External address resolver">http://ip.filezilla-project.org/ip.php</Setting> |
| | <Setting name="Last resolved IP" /> |
| | <Setting name="No external ip on local conn">1</Setting> |
| | <Setting name="Pasv reply fallback mode">0</Setting> |
| | <Setting name="Timeout">20</Setting> |
| | <Setting name="Logging Debug Level">0</Setting> |
| | <Setting name="Logging Raw Listing">0</Setting> |
‧ ‧ ‧ ‧ ‧ |
修改三個設定:
- External IP mode 由 0 改為 2 :由 FileZilla 社群的伺服器,提供電腦的外網『網路位址』。
- Pasv reply fallback mode 由 0 改為 1:以『被動模式』連線失敗時,改為『主動模式』。
- Timeout 由 20 改為 1:『被動模式』連線失敗的逾時等候時間,改為 1 秒。
修改後的結果如下:
<?xml version="1.0"?> |
<FileZilla3 version="3.17.0.1" platform="*nix"> |
| <Settings> |
| | <Setting name="Use Pasv mode">1</Setting> |
| | <Setting name="Limit local ports">0</Setting> |
| | <Setting name="Limit ports low">6000</Setting> |
| | <Setting name="Limit ports high">7000</Setting> |
| | <Setting name="Limit ports offset">0</Setting> |
| | <Setting name="External IP mode">2</Setting> |
| | <Setting name="External IP" /> |
| | <Setting name="External address resolver">http://ip.filezilla-project.org/ip.php</Setting> |
| | <Setting name="Last resolved IP" /> |
| | <Setting name="No external ip on local conn">1</Setting> |
| | <Setting name="Pasv reply fallback mode">1</Setting> |
| | <Setting name="Timeout">1</Setting> |
| | <Setting name="Logging Debug Level">0</Setting> |
| | <Setting name="Logging Raw Listing">0</Setting> |
‧ ‧ ‧ ‧ ‧ |
儲存 FileZilla 設定檔後,再開啟就能快速啟動 FileZilla 了。
已測試版本:
參考資料:
沒有留言:
張貼留言
感謝你耐心看完本文,歡迎留下任何指正、建議,筆者會儘快回應。(English is also welcome.)