diff --git a/src/wp/FileTransfer.cs b/src/wp/FileTransfer.cs index f8b6ed5..6b18931 100644 --- a/src/wp/FileTransfer.cs +++ b/src/wp/FileTransfer.cs @@ -765,6 +765,8 @@ namespace WPCordovaClassLib.Cordova.Commands byte[] buffer = new byte[4096]; int bytesRead = 0; + //sent bytes needs to be reseted before new upload + bytesSent = 0; totalBytesToSend = fileStream.Length; requestStream.Write(boundaryBytes, 0, boundaryBytes.Length);