43 references to FtpMethodFlags
System (43)
net\System\Net\_FtpControlStream.cs (6)
528if (request.MethodInfo.HasFlag(FtpMethodFlags.DoesNotTakeParameter)) 532else if (request.MethodInfo.HasFlag(FtpMethodFlags.ParameterIsDirectory)) 543if (requestFilename.Length == 0 && request.MethodInfo.HasFlag(FtpMethodFlags.TakesParameter)) 558if (request.MethodInfo.HasFlag(FtpMethodFlags.MustChangeWorkingDirectoryToPath) && requestDirectory.Length > 0) 637else if (request.MethodInfo.HasFlag(FtpMethodFlags.DoesNotTakeParameter)) 641else if (request.MethodInfo.HasFlag(FtpMethodFlags.MustChangeWorkingDirectoryToPath))
net\System\Net\FtpWebRequest.cs (37)
60internal FtpMethodFlags Flags; 65FtpMethodFlags flags, 74internal bool HasFlag(FtpMethodFlags flags) { 79get { return (Flags & (FtpMethodFlags.IsDownload | FtpMethodFlags.IsUpload)) == 0; } 83get { return (Flags & FtpMethodFlags.IsUpload) != 0; } 87get { return (Flags & FtpMethodFlags.IsDownload) != 0; } 91get { return (Flags & FtpMethodFlags.HasHttpCommand) != 0; } 99get { return (Flags & FtpMethodFlags.ShouldParseForResponseUri) != 0; } 115FtpMethodFlags.IsDownload 116| FtpMethodFlags.HasHttpCommand 117| FtpMethodFlags.TakesParameter, 121FtpMethodFlags.IsDownload 122| FtpMethodFlags.MustChangeWorkingDirectoryToPath 123| FtpMethodFlags.HasHttpCommand 124| FtpMethodFlags.MayTakeParameter, 128FtpMethodFlags.IsDownload 129| FtpMethodFlags.MustChangeWorkingDirectoryToPath 130| FtpMethodFlags.HasHttpCommand 131| FtpMethodFlags.MayTakeParameter, 135FtpMethodFlags.IsUpload 136| FtpMethodFlags.TakesParameter, 140FtpMethodFlags.IsUpload 141| FtpMethodFlags.MustChangeWorkingDirectoryToPath 142| FtpMethodFlags.DoesNotTakeParameter 143| FtpMethodFlags.ShouldParseForResponseUri, 147FtpMethodFlags.IsUpload 148| FtpMethodFlags.TakesParameter, 152FtpMethodFlags.TakesParameter, 156FtpMethodFlags.TakesParameter, 160FtpMethodFlags.TakesParameter, 164FtpMethodFlags.TakesParameter, 168FtpMethodFlags.TakesParameter 169| FtpMethodFlags.ParameterIsDirectory, 173FtpMethodFlags.TakesParameter 174| FtpMethodFlags.ParameterIsDirectory, 178FtpMethodFlags.DoesNotTakeParameter,