summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--espFtpServer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/espFtpServer.cpp b/espFtpServer.cpp
index 5158243..96f7f3e 100644
--- a/espFtpServer.cpp
+++ b/espFtpServer.cpp
@@ -1092,6 +1092,7 @@ bool FtpServer::doStore()
FTP_DEBUG_MSG("Transfer %d bytes client->fs", navail);
navail = data.read(fileBuffer, navail);
file.write(fileBuffer, navail);
+ bytesTransfered += navail;
}
if (!data.connected() && (navail <= 0))