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.

46 lines
2.2 KiB

  1. /* xfer_tsc.h -- a file containing the transfe status termination codes
  2. *
  3. * Copyright 1990 by Hilgraeve Inc. -- Monroe, MI
  4. * All rights reserved
  5. *
  6. * $Revision: 1 $
  7. * $Date: 10/05/98 1:16p $
  8. */
  9. /* Transfer Status Codes -- to indicate the final status of an individual
  10. * file transfer.
  11. * Note: There is a table called transfer_status_msg in transfer.c with an
  12. * entry for each of these defines. If new constants are added here,
  13. * the table should be expanded as well.
  14. */
  15. #define TSC_OK 0 // transfer completed normally
  16. #define TSC_RMT_CANNED 1 // remote system sent cancel request
  17. #define TSC_USER_CANNED 2 // user hit abort key
  18. #define TSC_LOST_CARRIER 3 // carrier lost during transfer
  19. #define TSC_ERROR_LIMIT 4 // error limit exceeded
  20. #define TSC_NO_RESPONSE 5 // remote system stopped responding
  21. #define TSC_OUT_OF_SEQ 6 // wrong number packet or resp. received
  22. #define TSC_BAD_FORMAT 7 // seemingly valid packet had bad format
  23. #define TSC_TOO_MANY 8 // user specified filename as dest, but
  24. // sender sent more than one file
  25. #define TSC_DISK_FULL 9 // no more room to put file
  26. #define TSC_CANT_OPEN 10 // couldn't find or open file
  27. #define TSC_DISK_ERROR 11 // hard err. or read/write error occurred
  28. #define TSC_NO_MEM 12 // not enough memory to complete transfer
  29. #define TSC_FILE_EXISTS 13 // can't receive 'cause no permission to
  30. // overwrite
  31. #define TSC_COMPLETE 14 // transfer session is complete
  32. #define TSC_CANT_START 15 // couldn't complete transfer setup, prob.
  33. // bad option, disk error, etc.
  34. #define TSC_OLDER_FILE 16 // /N option but rcv'd file older
  35. #define TSC_NO_FILETIME 17 // /N option but sender sent no file time
  36. #define TSC_WONT_CANCEL 18 // sender failed to cancel transfer when
  37. // requested to
  38. #define TSC_GEN_FAILURE 19 // generic transfer failure message
  39. #define TSC_NO_VSCAN 20 // Virus scanning can't be loaded
  40. #define TSC_VIRUS_DETECT 21 // Virus detected
  41. #define TSC_USER_SKIP 22 // User skipped the file
  42. #define TSC_REFUSE 23 // User refused
  43. #define TSC_FILEINUSE 24 // File is opened and can't be renamed
  44. #define TSC_MAX 25 // number of TSC codes