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