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