ftpcodes.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #ifndef VSF_FTPCODES_H
  2. #define VSF_FTPCODES_H
  3. #define FTP_DATACONN 150
  4. #define FTP_NOOPOK 200
  5. #define FTP_TYPEOK 200
  6. #define FTP_PORTOK 200
  7. #define FTP_EPRTOK 200
  8. #define FTP_UMASKOK 200
  9. #define FTP_CHMODOK 200
  10. #define FTP_EPSVALLOK 200
  11. #define FTP_STRUOK 200
  12. #define FTP_MODEOK 200
  13. #define FTP_PBSZOK 200
  14. #define FTP_PROTOK 200
  15. #define FTP_OPTSOK 200
  16. #define FTP_ALLOOK 202
  17. #define FTP_FEAT 211
  18. #define FTP_STATOK 211
  19. #define FTP_SIZEOK 213
  20. #define FTP_MDTMOK 213
  21. #define FTP_STATFILE_OK 213
  22. #define FTP_SITEHELP 214
  23. #define FTP_HELP 214
  24. #define FTP_SYSTOK 215
  25. #define FTP_GREET 220
  26. #define FTP_GOODBYE 221
  27. #define FTP_ABOR_NOCONN 225
  28. #define FTP_TRANSFEROK 226
  29. #define FTP_ABOROK 226
  30. #define FTP_PASVOK 227
  31. #define FTP_EPSVOK 229
  32. #define FTP_LOGINOK 230
  33. #define FTP_AUTHOK 234
  34. #define FTP_CWDOK 250
  35. #define FTP_RMDIROK 250
  36. #define FTP_DELEOK 250
  37. #define FTP_RENAMEOK 250
  38. #define FTP_PWDOK 257
  39. #define FTP_MKDIROK 257
  40. #define FTP_GIVEPWORD 331
  41. #define FTP_RESTOK 350
  42. #define FTP_RNFROK 350
  43. #define FTP_IDLE_TIMEOUT 421
  44. #define FTP_DATA_TIMEOUT 421
  45. #define FTP_TOO_MANY_USERS 421
  46. #define FTP_IP_LIMIT 421
  47. #define FTP_IP_DENY 421
  48. #define FTP_TLS_FAIL 421
  49. #define FTP_BADSENDCONN 425
  50. #define FTP_BADSENDNET 426
  51. #define FTP_BADSENDFILE 451
  52. #define FTP_BADCMD 500
  53. #define FTP_BADOPTS 501
  54. #define FTP_COMMANDNOTIMPL 502
  55. #define FTP_NEEDUSER 503
  56. #define FTP_NEEDRNFR 503
  57. #define FTP_BADPBSZ 503
  58. #define FTP_BADPROT 503
  59. #define FTP_BADSTRU 504
  60. #define FTP_BADMODE 504
  61. #define FTP_BADAUTH 504
  62. #define FTP_NOSUCHPROT 504
  63. #define FTP_NEEDENCRYPT 522
  64. #define FTP_EPSVBAD 522
  65. #define FTP_DATATLSBAD 522
  66. #define FTP_LOGINERR 530
  67. #define FTP_NOHANDLEPROT 536
  68. #define FTP_FILEFAIL 550
  69. #define FTP_NOPERM 550
  70. #define FTP_UPLOADFAIL 553
  71. #endif /* VSF_FTPCODES_H */