22 references to Ftp
PresentationCore (1)
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
360
_method = WebRequestMethods.
Ftp
.DownloadFile; // ftp default
System (21)
net\System\Net\Cache\FtpRequestCacheValidator.cs (6)
83
case WebRequestMethods.
Ftp
.DownloadFile: RequestMethod = HttpMethod.Get; break;
84
case WebRequestMethods.
Ftp
.UploadFile: RequestMethod = HttpMethod.Put;break;
85
case WebRequestMethods.
Ftp
.AppendFile: RequestMethod = HttpMethod.Put;break;
86
case WebRequestMethods.
Ftp
.Rename: RequestMethod = HttpMethod.Put;break;
87
case WebRequestMethods.
Ftp
.DeleteFile: RequestMethod = HttpMethod.Delete;break;
98
if (method != WebRequestMethods.
Ftp
.DownloadFile)
net\System\Net\FtpWebRequest.cs (14)
113
new FtpMethodInfo(WebRequestMethods.
Ftp
.DownloadFile,
119
new FtpMethodInfo(WebRequestMethods.
Ftp
.ListDirectory,
126
new FtpMethodInfo(WebRequestMethods.
Ftp
.ListDirectoryDetails,
133
new FtpMethodInfo(WebRequestMethods.
Ftp
.UploadFile,
138
new FtpMethodInfo(WebRequestMethods.
Ftp
.UploadFileWithUniqueName,
145
new FtpMethodInfo(WebRequestMethods.
Ftp
.AppendFile,
150
new FtpMethodInfo(WebRequestMethods.
Ftp
.DeleteFile,
154
new FtpMethodInfo(WebRequestMethods.
Ftp
.GetDateTimestamp,
158
new FtpMethodInfo(WebRequestMethods.
Ftp
.GetFileSize,
162
new FtpMethodInfo(WebRequestMethods.
Ftp
.Rename,
166
new FtpMethodInfo(WebRequestMethods.
Ftp
.MakeDirectory,
171
new FtpMethodInfo(WebRequestMethods.
Ftp
.RemoveDirectory,
176
new FtpMethodInfo(WebRequestMethods.
Ftp
.PrintWorkingDirectory,
529
m_MethodInfo = FtpMethodInfo.GetMethodInfo(WebRequestMethods.
Ftp
.DownloadFile);
net\System\Net\webclient.cs (1)
1665
return WebRequestMethods.
Ftp
.UploadFile;