Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. ftphelp.h
  5. Abstract:
  6. header for private FTP manifests etc
  7. Author:
  8. Heath Hunnicut (t-heathh) 26-May-1995
  9. Revision History:
  10. 26-May-1995 t-heathh
  11. Created
  12. --*/
  13. typedef struct {
  14. int Major;
  15. int Minor;
  16. int Detail;
  17. int Status;
  18. } FTP_RESPONSE_CODE;
  19. //
  20. // response categories (1st digit)
  21. //
  22. #define FTP_RESPONSE_PRELIMINARY 1
  23. #define FTP_RESPONSE_COMPLETE 2
  24. #define FTP_RESPONSE_CONTINUE 3
  25. #define FTP_RESPONSE_TRANSIENT_FAILURE 4
  26. #define FTP_RESPONSE_PERMANENT_FAILURE 5
  27. //
  28. // response codes
  29. //
  30. #define FTP_RESPONSE_RESTART_MARKER 110
  31. #define FTP_RESPONSE_DATA_ALREADY_OPEN 125
  32. #define FTP_RESPONSE_OPENING_DATA 150
  33. #define FTP_RESPONSE_CMD_OK 200
  34. #define FTP_RESPONSE_CMD_EXTRANEOUS 202
  35. #define FTP_RESPONSE_DIRECTORY_STATUS 212
  36. #define FTP_RESPONSE_FILE_STATUS 213
  37. #define FTP_RESPONSE_SYSTEM_TYPE 215
  38. #define FTP_RESPONSE_SEND_USER_CMD 220
  39. #define FTP_RESPONSE_CLOSING_CONTROL 221
  40. #define FTP_RESPONSE_CLOSING_DATA 226
  41. #define FTP_RESPONSE_ENTERING_PASSIVE 227
  42. #define FTP_RESPONSE_LOGGED_IN_PROCEED 230
  43. #define FTP_RESPONSE_FILE_ACTION_OK 250
  44. #define FTP_RESPONSE_PATHNAME_CREATED 257
  45. #define FTP_RESPONSE_SEND_PASS_CMD 331
  46. #define FTP_RESPONSE_NEED_LOGIN_ACCOUNT 332
  47. #define FTP_RESPONSE_FILE_CMD_PENDING 350
  48. #define FTP_RESPONSE_CANT_OPEN_DATA 425
  49. #define FTP_RESPONSE_CMD_SYNTAX_ERROR 500
  50. #define FTP_RESPONSE_ARG_SYNTAX_ERROR 501
  51. #define FTP_RESPONSE_CMD_NOT_IMPL 502
  52. #define FTP_RESPONSE_BAD_CMD_SEQ 503
  53. #define FTP_RESPONSE_NOT_LOGGED_IN 530
  54. #define FTP_RESPONSE_ACTION_NOT_TAKEN 550