[2018-02-15 12:12:01,822] 22 -- INFO -- log [Info] -- System.Net.WebException: The operation has timed out
at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
at System.Net.FtpWebRequest.RequestCallback(Object obj)
at System.Net.CommandStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.Stream.Dispose()
at System.Net.ConnectionPool.Destroy(PooledStream pooledStream)
at System.Net.ConnectionPool.PutConnection(PooledStream pooledStream, Object owningObject, Int32 creationTimeout, Boolean canReuse)
at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage)
at System.Net.FtpWebRequest.GetRequestStream()
at winform_cn_FileUpload.UpLoadFileToFTP(HttpPostedFile file, String ftpPath, String ftpUserID, String ftpPassword, String usePath)
in c:\IIS\FastFlow\FastFlow\winform\cn\FileUpload.aspx.cs:line 272
防火墙问题导致网络不通 网络超时造成! 开通网络防火墙即可解决!