45 references to FtpStatusCode
netstandard (1)
netstandard.cs (1)
1090[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.FtpStatusCode))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
620[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.FtpStatusCode))]
System.Net.Requests (43)
System\Net\CommandStream.cs (1)
142protected static Exception GenerateException(FtpStatusCode code, string? statusDescription, Exception? innerException)
System\Net\FtpControlStream.cs (18)
52internal FtpStatusCode StatusCode; 225StatusCode = FtpStatusCode.Undefined; 246FtpStatusCode status = (FtpStatusCode)response.Status; 251if (status != FtpStatusCode.ClosingControl) 266if (status == FtpStatusCode.SendUserCommand) 272else if (status == FtpStatusCode.ServiceTemporarilyNotAvailable) 302if (status == FtpStatusCode.LoggedInProceed) 314if (status == FtpStatusCode.ServiceNotAvailable) 325if (status == FtpStatusCode.NeedLoginAccount || status == FtpStatusCode.LoggedInProceed) 345if (status == FtpStatusCode.OpeningData || status == FtpStatusCode.DataAlreadyOpen) 376if (status == FtpStatusCode.LoggedInProceed) 381else if (status == FtpStatusCode.ClosingControl) 388else if (status == FtpStatusCode.ServerWantsSecureSession) 437else if (status == FtpStatusCode.FileStatus) 449else if (status == FtpStatusCode.PathnameCreated)
System\Net\FtpDataStream.cs (1)
100&& response.StatusCode == FtpStatusCode.ConnectionClosed)
System\Net\FtpWebRequest.cs (2)
1113else if (connection != null && connection.StatusCode != FtpStatusCode.Undefined) 1671_ftpWebResponse = new FtpWebResponse(responseStream, -1, _uri, FtpStatusCode.Undefined, null, DateTime.Now, null, null, null);
System\Net\FtpWebResponse.cs (4)
16private FtpStatusCode _statusCode; 24internal FtpWebResponse(Stream? responseStream, long contentLength, Uri responseUri, FtpStatusCode statusCode, string? statusLine, DateTime lastModified, string? bannerMessage, string? welcomeMessage, string? exitMessage) 41internal void UpdateStatus(FtpStatusCode statusCode, string? statusLine, string? exitMessage) 133public FtpStatusCode StatusCode
System\Net\NetRes.cs (17)
10public static string GetWebStatusCodeString(FtpStatusCode statusCode, string? statusDescription) 17case FtpStatusCode.ServiceNotAvailable: 20case FtpStatusCode.CantOpenData: 23case FtpStatusCode.ConnectionClosed: 26case FtpStatusCode.ActionNotTakenFileUnavailableOrBusy: 29case FtpStatusCode.ActionAbortedLocalProcessingError: 32case FtpStatusCode.ActionNotTakenInsufficientSpace: 35case FtpStatusCode.CommandSyntaxError: 38case FtpStatusCode.ArgumentSyntaxError: 41case FtpStatusCode.CommandNotImplemented: 44case FtpStatusCode.BadCommandSequence: 47case FtpStatusCode.NotLoggedIn: 50case FtpStatusCode.AccountNeeded: 53case FtpStatusCode.ActionNotTakenFileUnavailable: 56case FtpStatusCode.ActionAbortedUnknownPageType: 59case FtpStatusCode.FileActionAborted: 62case FtpStatusCode.ActionNotTakenFilenameNotAllowed: