42 references to FtpMethodFlags
System.Net.Requests (42)
System\Net\FtpControlStream.cs (6)
552if (request.MethodInfo.HasFlag(FtpMethodFlags.DoesNotTakeParameter)) 556else if (request.MethodInfo.HasFlag(FtpMethodFlags.ParameterIsDirectory)) 567if (requestFilename.Length == 0 && request.MethodInfo.HasFlag(FtpMethodFlags.TakesParameter)) 582if (request.MethodInfo.HasFlag(FtpMethodFlags.MustChangeWorkingDirectoryToPath) && requestDirectory.Length > 0) 641else if (request.MethodInfo.HasFlag(FtpMethodFlags.DoesNotTakeParameter)) 645else if (request.MethodInfo.HasFlag(FtpMethodFlags.MustChangeWorkingDirectoryToPath))
System\Net\FtpWebRequest.cs (36)
54internal FtpMethodFlags Flags; 59FtpMethodFlags flags, 68internal bool HasFlag(FtpMethodFlags flags) 75get { return (Flags & (FtpMethodFlags.IsDownload | FtpMethodFlags.IsUpload)) == 0; } 80get { return (Flags & FtpMethodFlags.IsUpload) != 0; } 85get { return (Flags & FtpMethodFlags.IsDownload) != 0; } 94get { return (Flags & FtpMethodFlags.ShouldParseForResponseUri) != 0; } 111FtpMethodFlags.IsDownload 112| FtpMethodFlags.HasHttpCommand 113| FtpMethodFlags.TakesParameter, 117FtpMethodFlags.IsDownload 118| FtpMethodFlags.MustChangeWorkingDirectoryToPath 119| FtpMethodFlags.HasHttpCommand 120| FtpMethodFlags.MayTakeParameter, 124FtpMethodFlags.IsDownload 125| FtpMethodFlags.MustChangeWorkingDirectoryToPath 126| FtpMethodFlags.HasHttpCommand 127| FtpMethodFlags.MayTakeParameter, 131FtpMethodFlags.IsUpload 132| FtpMethodFlags.TakesParameter, 136FtpMethodFlags.IsUpload 137| FtpMethodFlags.MustChangeWorkingDirectoryToPath 138| FtpMethodFlags.DoesNotTakeParameter 139| FtpMethodFlags.ShouldParseForResponseUri, 143FtpMethodFlags.IsUpload 144| FtpMethodFlags.TakesParameter, 148FtpMethodFlags.TakesParameter, 152FtpMethodFlags.TakesParameter, 156FtpMethodFlags.TakesParameter, 160FtpMethodFlags.TakesParameter, 164FtpMethodFlags.TakesParameter 165| FtpMethodFlags.ParameterIsDirectory, 169FtpMethodFlags.TakesParameter 170| FtpMethodFlags.ParameterIsDirectory, 174FtpMethodFlags.DoesNotTakeParameter,