The Labs \ Source Viewer \ SSCLI \ System.Net \ FtpStatusCode

  1. // ------------------------------------------------------------------------------
  2. // <copyright file="FtpStatusCode.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. // ------------------------------------------------------------------------------
  15. //
  16. namespace System.Net
  17. {
  18.    
  19.     public enum FtpStatusCode
  20.     {
  21.         Undefined = 0,
  22.        
  23.         //
  24.         // Informational 1xx
  25.         //
  26.         RestartMarker = 110,
  27.         ServiceTemporarilyNotAvailable = 120,
  28.         DataAlreadyOpen = 125,
  29.         OpeningData = 150,
  30.        
  31.         //
  32.         // Success 2xx
  33.         //
  34.        
  35.         CommandOK = 200,
  36.         CommandExtraneous = 202,
  37.         DirectoryStatus = 212,
  38.         FileStatus = 213,
  39.         SystemType = 215,
  40.         SendUserCommand = 220,
  41.         ClosingControl = 221,
  42.         ClosingData = 226,
  43.         EnteringPassive = 227,
  44.         LoggedInProceed = 230,
  45.         ServerWantsSecureSession = 234,
  46.         FileActionOK = 250,
  47.         PathnameCreated = 257,
  48.        
  49.         //
  50.         // Intermeidate 3xx
  51.         //
  52.        
  53.         SendPasswordCommand = 331,
  54.         NeedLoginAccount = 332,
  55.         FileCommandPending = 350,
  56.        
  57.         //
  58.         // Temporary Errors 4xx
  59.         //
  60.        
  61.        
  62.         ServiceNotAvailable = 421,
  63.         CantOpenData = 425,
  64.         ConnectionClosed = 426,
  65.         ActionNotTakenFileUnavailableOrBusy = 450,
  66.         ActionAbortedLocalProcessingError = 451,
  67.         ActionNotTakenInsufficientSpace = 452,
  68.        
  69.        
  70.         //
  71.         // Fatal Errors 5xx
  72.         //
  73.        
  74.         CommandSyntaxError = 500,
  75.         ArgumentSyntaxError = 501,
  76.         CommandNotImplemented = 502,
  77.         BadCommandSequence = 503,
  78.         NotLoggedIn = 530,
  79.         AccountNeeded = 532,
  80.         ActionNotTakenFileUnavailable = 550,
  81.         ActionAbortedUnknownPageType = 551,
  82.         FileActionAborted = 552,
  83.         ActionNotTakenFilenameNotAllowed = 553
  84.     }
  85. }

Developer Fusion