2 writes to Command
System.Net.Requests (2)
System\Net\CommandStream.cs (2)
380
Command
= command;
384
Command
= command;
18 references to Command
System.Net.Requests (18)
System\Net\CommandStream.cs (5)
197
byte[] sendBuffer = Encoding.GetBytes(_commands[_index].
Command
);
201
string sendCommand = _commands[_index].
Command
.Substring(0, _commands[_index].
Command
.Length - 2);
282
commands[index].
Command
!= "QUIT\r\n")
308
if (_currentResponseDescription == null && entry!.
Command
== "QUIT\r\n")
System\Net\FtpControlStream.cs (13)
242
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Command:{entry?.
Command
} Description:{response?.StatusDescription}");
285
if (entry!.
Command
== "OPTS utf8 on\r\n")
301
if (entry.
Command
.Contains("USER"))
324
&& entry.
Command
.Contains("PASS"))
355
_abortReason = SR.Format(SR.net_ftp_invalid_status_response, status, entry.
Command
);
441
if (entry.
Command
.StartsWith("SIZE ", StringComparison.Ordinal))
445
else if (entry.
Command
.StartsWith("MDTM ", StringComparison.Ordinal))
453
if (entry.
Command
== "PWD\r\n" && !entry.HasFlag(PipelineEntryFlags.UserCommand))
462
if (entry.
Command
.Contains("CWD"))
469
if (response.PositiveIntermediate || (!UsingSecureStream && entry.
Command
== "AUTH TLS\r\n"))
676
if (entry.
Command
== "PASV\r\n" || entry.
Command
== "EPSV\r\n")
683
if (entry.
Command
== "PASV\r\n")