Editing
FTP problems
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
技術疑難排除 FTP 問題 * 建議使用FTP 傳檔軟體,例如 [[How to use filezilla | FIleZilla]] ([http://www.google.com/custom?hl=en&lr=&safe=active&client=pub-8270368572690590&cof=FORID%3A1%3BL%3Ahttp%3A%2F%2Fwiki.planetoid.info%2Fimages%2Fwiki_logo.png%3BLH%3A100%3BLW%3A100%3BLBGC%3A%23FFFFFF%3BLP%3A1%3BBGC%3A%23FFFFFF%3BT%3A%23000000%3BLC%3A%230000CC%3BVLC%3A%230000CC%3BALC%3A%230000CC%3BGALT%3A%23008000%3BGFNT%3A%23000000%3BGIMP%3A%23000000%3BDIV%3A%230000CC%3BAH%3Acenter%3BS%3Ahttp%3A%2F%2Fwiki.planetoid.info%2Findex.php%2FCustomized_Search_Engine%3BCX%3ASoftware%2520download%2520and%2520S%252EO%252ES%252E%3B&q=FTP+%E5%82%B3%E6%AA%94%E8%BB%9F%E9%AB%94+OR+%22ftp+client+software%22&btnG=Search&cx=010660376355600943635%3Aclnyqcm_ry4 找其他 FTP 軟體])而非 Internet Explorer === 解決 FTP 使用者無法登入 530 Login or password incorrect === * 帳號密碼輸入錯誤 (1) 有時候密碼在複製的時候,多複製了半形空白,使得密碼輸入錯誤、(2) 檢查大寫燈是否有亮 <pre> 指令: USER 帳號名稱 回應: 331 Password required for 帳號名稱 指令: PASS *** 回應: 530 Login or password incorrect! 錯誤: 嚴重錯誤: 無法連線到伺服器 狀態: 已從伺服器離線 </pre> * 部分伺服器有同一時間的連線數限制,請關閉多餘連線視窗或連線分頁(label) * 無法連線到伺服器,錯誤訊息如下。可能因為遠端伺服器防火牆沒有允許連線到 FTP 21 port,需要請對方網管或系統管理員處理。 <pre> 狀態: 正在連線到 IP:21... 錯誤: 20 秒後無動作, 連線逾時 錯誤: 無法連線到伺服器 狀態: 正在等待重試... </pre> === 解決 FTP 使用者無法登入 請選擇正確的協定 === * 選擇錯誤的檔案協定,請跟管理者確定是 FTP 或 SFTP ? <pre> 狀態: 正在連線到 IP:Port... 狀態: 連線已建立, 正在等候歡迎訊息... 回應: SSH-2.0-OpenSSH_6.6.1 錯誤: 無法建立 FTP 連線到 SFTP 伺服器. 請選擇正確的協定. 錯誤: 嚴重錯誤: 無法連線到伺服器 </pre> === 解決 FTP 使用者無法登入 20 秒後無動作, 連線逾時 === 錯誤訊息 <pre> 狀態: 正在連線到 FTP 伺服器... 回應: fzSftp started, protocol_version=9 指令: open "帳號@FTP 伺服器" 22 錯誤: 20 秒後無動作, 連線逾時 錯誤: 無法連線到伺服器 狀態: 正在等待重試... </pre> 解決方法:請管理者檢查帳號是否正確 === 解決 FTP 使用者可以登入,但是沒法看到目錄清單 === 可以登入(沒有顯示密碼錯誤的訊息)到ftp伺服器,但是沒法看到目錄清單 * 確定那不是空目錄 (管理者可以在使用者的檔案夾內上傳 welcome.txt 檔案,以利日後可能障礙排除的依據) * 登出FTP伺服器,啟用(或關閉)傳輸模式為Passive模式 (如果原本勾選「被動模式」,則改為切換「主動模式」) , 下圖為FileZilla的設定圖示。 Although you log in the ftp server successfully you can not see the list of files or directories, please switch the transfer mode between PASV or PORT mode. * Filezilla上方工具列:編輯 -> 設定 -> 連線: 傳輸模式在被動模式或主動模式之間切換 : http://static.flickr.com/2/1965250_7474306e52.jpg : Image hosted at [http://flickr.com/ flickr] * 其他軟體設定: [http://flickr.com/photos/planetoid/1965249/ IE的設定圖示]、[http://flickr.com/photos/planetoid/1965246/ CuteFtp的設定圖示]、[http://picasaweb.google.com/planetoid/Snapshots/photo#4999418058278633490 SmartFTP 2.0 的設定圖示] === 解決 FTP 使用者可以登入,但是重複要求密碼 === CuteFTP可以登入,但是重複要求密碼 --> 資料連線類型: 請選擇PASV(passive)模式,請見[http://flickr.com/photos/planetoid/1965246/ CuteFtp的設定圖示]。 === 解決 FTP 使用者檔案傳輸失敗 === 可能的原因 # 要傳輸的MS Word檔案還在開啟狀態,建議先關閉MS Word檔,再進行傳輸。 # 部分ftp server不允許中文字、特殊字(例如% @ #)或檔名中有空白等,請使用英文字或數字。 # 副檔名前有多餘的句點,例如 filename..doc 請改成 filename.doc # 檔名太長 # 部分伺服器有同一時間的連線數限制,請關閉多餘連線視窗或連線分頁(label) # ftp client的中文支援不佳,導致部分中文字串無法順利判讀 # 網路傳輸品質不穩 # 對方伺服器的硬碟已滿 === 解決 FTP 伺服器端問題 === * 該FTP 伺服器未啟用服務。可透過[http://www.nirsoft.net/utils/cports.html CurrPorts]等[[Testing#connection_test |工具]]檢查是否有程式佔用了 port 21 (FTP) 或 port 22 (SFTP)。 * 建議在使用者家目錄放一個 welcome 純文字檔案,方便連線除錯,確認遇到連線問題時,是否是完全無法瀏覽資料夾目錄。 * 防火牆 ** 硬體防火牆 ** 電腦防火牆: (windows 2008 server) 控制台\系統及安全性\Windows 防火牆 -> 具有進階安全性的 Windows 防火牆 -> 開放 FTP server 程式可以連線 <pre> 狀態: 正在連線到 IP ... 狀態: 連線已建立, 正等候歡迎訊息... 錯誤: 無法連線到伺服器 </pre> === FTP glossary terms === * user home directory: the home directory (root path) when user logged into the FTP server === permission === basic permission (from [http://filezilla-project.org/download.php?type=server FileZilla Server]): * Files: Read * Directories: List & List Subdirs case1 : allow user upload file and overwrite the same file uploaded * Files: Read, Write, Delete, Append case2 (for temporally upload purpose): allow user upload file and overwrite the same file uploaded but cannot see the file list * Files: Read, Write, Delete, Append * Directories: '''Not allow''' List & List Subdirs ''trivial case'' 1: allow user upload file but can not overwrite the same file uploaded * Files: Read, Write, (Append) ---- * [http://jinnsblog.blogspot.com/2011/01/how-to-set-filezilla-server-resume.html (FTP架站) 如何設定FileZilla Server的續傳功能-靖 ● 技場] == 相關文章 == * [http://www.raidenftpd.com/tw/commonerrorcode.html 雷電FTPD (村榮資訊) - 常見FTP錯誤代碼及解決方式] [[Category:Errors]] [[Category:Software]]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information