Exception:请求被中止: 请求已被取消。在写入所有字节之前不能关闭流。

报错信息 1
WebException: 请求被中止: 请求已被取消。
--Status: RequestCanceled
StackTrace:
   在 System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
   在 System.Net.ConnectStream.System.Net.ICloseEx.CloseEx(CloseExState closeState)
   在 System.Net.ConnectStream.Dispose(Boolean disposing)
   在 System.IO.Stream.Close()
   在 DynamicClass.WebDAVClient.ReadCallback(IAsyncResult result)
   在 System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Net.ContextAwareResult.Complete(IntPtr userToken)
   在 System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   在 System.Net.HttpWebRequest.InvokeGetRequestStreamCallback()
   在 System.Net.HttpWebRequest.EndWriteHeaders_Part2()
   在 System.Net.HttpWebRequest.EndWriteHeaders(Boolean async)
   在 System.Net.HttpWebRequest.WriteHeadersCallback(WebExceptionStatus errorStatus, ConnectStream stream, Boolean async)
   在 System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   在 System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   在 System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   在 System.Net.Security._SslStream.WriteCallback(IAsyncResult transportResult)
   在 System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Net.ContextAwareResult.Complete(IntPtr userToken)
   在 System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   在 System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   在 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

IOException: 在写入所有字节之前不能关闭流。
StackTrace:
   在 System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)

版本:1.44.23 2026-03-13 23:12 Microsoft Windows NT 10.0.22631.0