17 references to StatusCode
System (17)
net\System\Net\_FtpDataStream.cs (1)
86
&& response.
StatusCode
== FtpStatusCode.ConnectionClosed)
net\System\Net\Cache\FtpRequestCacheValidator.cs (15)
282
if (resp.
StatusCode
== FtpStatusCode.FileStatus)
351
if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_ftp_response_status, ((int)resp.
StatusCode
).ToString(CultureInfo.InvariantCulture), resp.
StatusCode
.ToString()));
359
if (resp.
StatusCode
!= FtpStatusCode.OpeningData && resp.
StatusCode
!= FtpStatusCode.FileStatus)
407
resp.
StatusCode
== FtpStatusCode.OpeningData ||
408
resp.
StatusCode
== FtpStatusCode.DataAlreadyOpen ||
409
resp.
StatusCode
== FtpStatusCode.FileActionOK ||
410
resp.
StatusCode
== FtpStatusCode.ClosingData)
415
if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_existing_not_removed_because_unexpected_response_status, (int)resp.
StatusCode
, resp.
StatusCode
.ToString()));
430
if (resp.
StatusCode
!= FtpStatusCode.OpeningData
431
&& resp.
StatusCode
!= FtpStatusCode.DataAlreadyOpen
432
&& resp.
StatusCode
!= FtpStatusCode.ClosingData)
434
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_ftp_response_status, FtpStatusCode.OpeningData.ToString() + "|" + FtpStatusCode.DataAlreadyOpen.ToString() + "|" + FtpStatusCode.ClosingData.ToString(), resp.
StatusCode
.ToString()));
net\System\Net\FtpWebRequest.cs (1)
2257
result = (int)ftpWebResponse.
StatusCode
;