From d430a0c443fca2ac0e00b54c5300fb7b7d5efaa1 Mon Sep 17 00:00:00 2001 From: rmyakimenko Date: Tue, 11 Oct 2016 17:40:12 +0300 Subject: [PATCH] file download fixed --- WebDavMailRuCloudStore/WebDavMailRuCloudStoreDocument.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebDavMailRuCloudStore/WebDavMailRuCloudStoreDocument.cs b/WebDavMailRuCloudStore/WebDavMailRuCloudStoreDocument.cs index 3796d6c4..fd21a20f 100644 --- a/WebDavMailRuCloudStore/WebDavMailRuCloudStoreDocument.cs +++ b/WebDavMailRuCloudStore/WebDavMailRuCloudStoreDocument.cs @@ -85,7 +85,7 @@ public Stream OpenReadStream() { throw new WebDavUnauthorizedException(); } - + stream.Seek(0, SeekOrigin.Begin); return stream; }