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)
240
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Command:{entry?.
Command
} Description:{response?.StatusDescription}");
283
if (entry!.
Command
== "OPTS utf8 on\r\n")
299
if (entry.
Command
.Contains("USER"))
322
&& entry.
Command
.Contains("PASS"))
353
_abortReason = SR.Format(SR.net_ftp_invalid_status_response, status, entry.
Command
);
439
if (entry.
Command
.StartsWith("SIZE ", StringComparison.Ordinal))
443
else if (entry.
Command
.StartsWith("MDTM ", StringComparison.Ordinal))
451
if (entry.
Command
== "PWD\r\n" && !entry.HasFlag(PipelineEntryFlags.UserCommand))
460
if (entry.
Command
.Contains("CWD"))
467
if (response.PositiveIntermediate || (!UsingSecureStream && entry.
Command
== "AUTH TLS\r\n"))
674
if (entry.
Command
== "PASV\r\n" || entry.
Command
== "EPSV\r\n")
681
if (entry.
Command
== "PASV\r\n")