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