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)
142
protected static Exception GenerateException(
FtpStatusCode
code, string? statusDescription, Exception? innerException)
System\Net\FtpControlStream.cs (18)
52
internal
FtpStatusCode
StatusCode;
225
StatusCode =
FtpStatusCode
.Undefined;
246
FtpStatusCode
status = (
FtpStatusCode
)response.Status;
251
if (status !=
FtpStatusCode
.ClosingControl)
266
if (status ==
FtpStatusCode
.SendUserCommand)
272
else if (status ==
FtpStatusCode
.ServiceTemporarilyNotAvailable)
302
if (status ==
FtpStatusCode
.LoggedInProceed)
314
if (status ==
FtpStatusCode
.ServiceNotAvailable)
325
if (status ==
FtpStatusCode
.NeedLoginAccount || status ==
FtpStatusCode
.LoggedInProceed)
345
if (status ==
FtpStatusCode
.OpeningData || status ==
FtpStatusCode
.DataAlreadyOpen)
376
if (status ==
FtpStatusCode
.LoggedInProceed)
381
else if (status ==
FtpStatusCode
.ClosingControl)
388
else if (status ==
FtpStatusCode
.ServerWantsSecureSession)
437
else if (status ==
FtpStatusCode
.FileStatus)
449
else if (status ==
FtpStatusCode
.PathnameCreated)
System\Net\FtpDataStream.cs (1)
100
&& response.StatusCode ==
FtpStatusCode
.ConnectionClosed)
System\Net\FtpWebRequest.cs (2)
1113
else 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)
16
private
FtpStatusCode
_statusCode;
24
internal FtpWebResponse(Stream? responseStream, long contentLength, Uri responseUri,
FtpStatusCode
statusCode, string? statusLine, DateTime lastModified, string? bannerMessage, string? welcomeMessage, string? exitMessage)
41
internal void UpdateStatus(
FtpStatusCode
statusCode, string? statusLine, string? exitMessage)
133
public
FtpStatusCode
StatusCode
System\Net\NetRes.cs (17)
10
public static string GetWebStatusCodeString(
FtpStatusCode
statusCode, string? statusDescription)
17
case
FtpStatusCode
.ServiceNotAvailable:
20
case
FtpStatusCode
.CantOpenData:
23
case
FtpStatusCode
.ConnectionClosed:
26
case
FtpStatusCode
.ActionNotTakenFileUnavailableOrBusy:
29
case
FtpStatusCode
.ActionAbortedLocalProcessingError:
32
case
FtpStatusCode
.ActionNotTakenInsufficientSpace:
35
case
FtpStatusCode
.CommandSyntaxError:
38
case
FtpStatusCode
.ArgumentSyntaxError:
41
case
FtpStatusCode
.CommandNotImplemented:
44
case
FtpStatusCode
.BadCommandSequence:
47
case
FtpStatusCode
.NotLoggedIn:
50
case
FtpStatusCode
.AccountNeeded:
53
case
FtpStatusCode
.ActionNotTakenFileUnavailable:
56
case
FtpStatusCode
.ActionAbortedUnknownPageType:
59
case
FtpStatusCode
.FileActionAborted:
62
case
FtpStatusCode
.ActionNotTakenFilenameNotAllowed: