diff --git a/src/wp/FileTransfer.cs b/src/wp/FileTransfer.cs index f6b85ae..07ff64a 100644 --- a/src/wp/FileTransfer.cs +++ b/src/wp/FileTransfer.cs @@ -751,6 +751,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);