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