100 | Codes The requested action is being taken. Expect a reply before proceeding with a new command. |
110 | Restart marker reply. |
120 | Service ready in (n) minutes. |
125 | Data connection already open, transfer starting. |
150 | File status okay, about to open data connection. |
200 | Codes The requested action has been successfully completed. Command okay. |
202 | Command not implemented |
211 | System status, or system help reply. |
212 | Directory status. |
213 | File status. |
214 | Help message. |
215 | NAME system type. (NAME is an official system name from the list in the Assigned Numbers document.) |
220 | Service ready for new user. |
221 | Service closing control connection. (Logged out if appropriate.) |
225 | Data connection open, no transfer in progress. |
226 | Closing data connection. Requested file action successful (file transfer, abort, etc.). |
227 | Entering Passive Mode |
230 | User logged in, proceed. |
250 | Requested file action okay, completed. |
257 | "PATHNAME" created. |
300 | Codes The command has been accepted, but the requested action is being held pending receipt of further information. |
331 | User name okay, need password. |
332 | Need account for login. |
350 | Requested file action pending further information. |
400 | Codes The command was not accepted and the requested action did not take place. The error condition is temporary, however, and the action may be requested again. |
421 | Service not available, closing control connection. (May be a reply to any command if the service knows it must shut down.) |
425 | Can't open data connection. |
426 | Connection closed, transfer aborted. |
450 | Requested file action not taken. File unavailable (e.g., file busy). |
451 | Requested action aborted, local error in processing. |
452 | Requested action not taken. Insufficient storage space in system. |
500 | Codes The command was not accepted and the requested action did not take place. 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 | User not logged in. |
532 | Need account for storing files. |
550 | Requested action not taken. File unavailable (e.g., file not found, no access). |
552 | Requested file action aborted, storage allocation exceeded |
553 | Requested action not taken. Illegal file name. |
目前分類:JAVA (17)
- Mar 26 Thu 2020 16:10
[JAVA] FTPClient reply code
- Aug 02 Tue 2016 14:12
[JAVA] Bouncy Castle
- Aug 02 Tue 2016 13:31
[JAVA] HashCode SHA-256
- Jul 21 Tue 2015 14:09
[JAVA]邏輯訓練:數字甜甜圈
- Mar 11 Wed 2015 10:31
[JAVA]Quick Sort
- Mar 10 Tue 2015 10:01
[JAVA]Heap Sort
- Mar 09 Mon 2015 11:09
[JAVA]Bubble Sort 及 Shaker Sort
- Mar 06 Fri 2015 09:03
[JAVA]河內塔
- Mar 05 Thu 2015 13:34
[JAVA]康威生命遊戲
- Mar 05 Thu 2015 10:48
[JAVA]IF的簡化
- Feb 12 Thu 2015 17:10
[JAVA]利用遞迴尋訪資料夾下所有檔案目錄
這個小程式是要用來寫壓縮程式用的一小部份,但壓縮程式還有中文壓縮的問題還沒解決,所以先將這個可以再利用的部份整理出來
程式中因為希望得到的資訊能夠再利用,所以使用ArrayList將它輸出,如果資訊不需再利用則可以直接Print出來就行了。
- Feb 11 Wed 2015 14:30
[JAVA]Java Mail
- Feb 09 Mon 2015 15:11
[JAVA]英文字元計數器
- Feb 06 Fri 2015 16:13
[JAVA]ArrayList
- Feb 06 Fri 2015 09:42
[JAVA]移除Script、Style、Html及其它特殊語法
都部份的網站上都有讓使用者輸入資訊的元件,這些元件也常常被駭客視為攻擊的途徑,所以為了防止駭客使用XSS(Cross-site scripting,跨站指令碼攻擊)的方式攻擊網站,而XSS的攻擊方式就是利用元件置入程式碼來取得資訊或權限,所以使用者輸入的資訊必需做一定的控管,通常是將輸入內容中出現的程式碼移除或取代。
底下的程式碼就是將輸入的字串中出現的Script、Style、HTML或其它語法移除掉,是利用正規表示法尋找並取代,如果想要的結果不是移除而是取代的話,只要在replaceAll("")中加入想取代的值就行了。
- Feb 04 Wed 2015 23:18
[JAVA]MD5
訊息摘要演算法第五版(Message-Digest Algorithm 5,縮寫為MD5),是當前電腦領域用於確保資訊傳輸完整一致而廣泛使用的雜湊演算法之一(又譯雜湊演算法、摘要演算法等),MD5由MD4、MD3、MD2改進而來,主要增強演算法複雜度和不可逆性。
所謂不可逆就是可以將一組密碼轉為MD5,可以沒辨法從MD5得知原使始密碼,所以很多網站在你忘記密碼的時候是寄一組新的密碼,或者是要你重新申請,那就表示他們密碼是加密過的,他們也不知道你的原始密碼是什麼,換句話說只要是直接寄你原始密碼給你的網站只要被破解了,你的帳密就被看光光啦~
- Feb 02 Mon 2015 17:03
[JAVA]字串全形轉半形