1. 程式人生 > >FTP上傳問題:FTP上傳不了文…

FTP上傳問題:FTP上傳不了文…

FTP上傳問題:FTP上傳不了檔案,看下錯誤提示!

=====================================================

530,說明密碼錯誤。
550,說明地址有錯誤,可能是盜連沒有改。
詳細的FTP錯誤列表
110 Restart marker reply. In this case, the text is exact and not left to the
particular implementation; it must read: MARK yyyy = mmmm where yyyy is
User-process data stream marker, and mmmm server's equivalent marker (note the
spaces between markers and 重新啟動標誌迴應。這種情況下,資訊是精確的並且不
用特別的處理;可以這樣看:標記 yyyy = mmm 中 yyyy是 使用者程序資料流標記,mmmm
是伺服器端相應的標記(注意在標記和等號間的空格)

中國創業網)

-----------------------------------
120 Service ready in nnn minutes.
服務在NNN時間內可用
-----------------------------------
125 Data connection already open; transfer starting.
資料連線已經開啟,開始傳送資料.
-----------------------------------
150 File status okay; about to open data connection.
檔案狀態正確,正在開啟資料連線.
-----------------------------------
200 Command okay.
命令執行正常結束.
-----------------------------------
202 Command not implemented, superfluous at this site.
命令未被執行,此站點不支援此命令.
-----------------------------------
211 System status, or system help reply.
系統狀態或系統幫助資訊迴應.
-----------------------------------
212 Directory status.

37
目錄狀態資訊.
阜陽資訊網
http://www.fyxxw.cn/
-----------------------------------
213 File status. $XrkxmL=
檔案狀態資訊.
-----------------------------------
214 Help message.On how to use the server or the meaning of a particular
non-standard command. This reply is useful only to the human user. 幫助資訊。
關於如何使用本伺服器或特殊的非標準命令。此回覆只對人有用。
-----------------------------------
215 NAME system type. Where NAME is an official system name from the list in
the Assigned Numbers document.
NAME系統型別。
-----------------------------------
220 Service ready for new user.
新連線的使用者的服務已就緒
-----------------------------------
221 Service closing control connection.
控制連線關閉
-----------------------------------
225 Data connection open; no transfer in progress.
資料連線已開啟,沒有進行中的資料傳送
-----------------------------------
226 Closing data connection. Requested file action successful (for example, file
transfer or file abort).
正在關閉資料連線。請求檔案動作成功結束(例如,檔案傳送或終止)
-----------------------------------
227 Entering Passive Mode (h1,h2,h3,h4,p1,p2).
進入被動模式
-----------------------------------
230 User logged in, proceed. Logged out if appropriate.
使用者已登入。 如果不需要可以登出。
-----------------------------------
250 Requested file action okay, completed. _
被請求檔案操作成功完成 63
無錫交管網
(http://www.wxjgw.com/)
----------------------------------- ,
257 "PATHNAME" created.
路徑已建立
-----------------------------------
331 User name okay, need password. ,
使用者名稱存在,需要輸入密碼
-----------------------------------
332 Need account for login.
需要登陸的賬戶
-----------------------------------

38
350 Requested file action pending further inFORMation U
對被請求檔案的操作需要進一步更多的資訊
-----------------------------------
421 Service not available, closing control connection.This may be a reply to
any command if the service knows it must shut down. (O&;
服務不可用,控制連線關閉。這可能是對任何命令的迴應,如果服務認為它必須關閉
-----------------------------------
425 Can't open data connection.
開啟資料連線失敗
-----------------------------------
426 Connection closed; transfer aborted.
連線關閉,傳送中止。
-----------------------------------
450 Requested file action not taken.
對被請求檔案的操作未被執行
-----------------------------------
451 Requested action aborted. Local error in processing.
請求的操作中止。處理中發生本地錯誤。
-----------------------------------
452 Requested action not taken. Insufficient storage space in system.File
unavailable (e.g., file busy).
請求的操作沒有被執行。 系統儲存空間不足。 檔案不可用
-----------------------------------
500 Syntax error, command unrecognized. This may include errors such as command
line too long..
語法錯誤,不可識別的命令。 這可能是命令列過長。
-----------------------------------
501 Syntax error in parameters or arguments.
引數錯誤導致的語法錯誤
-----------------------------------
502 Command not implemented.
命令未被執行
-----------------------------------
503 Bad sequence of commands.
命令的次序錯誤。
-----------------------------------
504 Command not implemented for that parameter.,
由於引數錯誤,命令未被執行
-----------------------------------
530 Not logged in.
沒有登入
-----------------------------------
532 Need account for storing files.
儲存檔案需要賬戶資訊!

39
-----------------------------------
550 Requested action not taken. File unavailable (e.g., file not found, no
access).
請求操作未被執行,檔案不可用。
----------------------------------- |
551 Requested action aborted. Page type unknown. +.+
請求操作中止,頁面型別未知
-----------------------------------
552 Requested file action aborted. Exceeded storage allocation (for current
directory or dataset).
對請求檔案的操作中止。 超出儲存分配
-----------------------------------
553 Requested action not taken. File name not allowed
請求操作未被執行。 檔名不允許
----------------------------------- .
這種錯誤跟http協議類似,大致是:
2 開頭--成功 A/
3 開頭--許可權問題
4 開頭--檔案問題
5 開頭--伺服器問題
例如下面這個例子:
Sat Feb 15 00:13:02 2003 正在連線 61.143.241.231 [IP=61.143.241.231:21]
Sat Feb 15 00:13:02 2003 Socket已連線 ,等待歡迎資訊
Sat Feb 15 00:13:03 2003 220 www.starwcn.net free Ftp Server 231
Sat Feb 15 00:13:03 2003 USER ftper
Sat Feb 15 00:13:03 2003 331 Password required for ftper.
Sat Feb 15 00:13:03 2003 PASS ********
Sat Feb 15 00:13:03 2003 530 Login incorrect.
Sat Feb 15 00:13:03 2003 有錯誤發生!
Sat Feb 15 00:13:03 2003 等待 5 秒後重試
這就是說明密碼不正確。