diff options
author | Daniel Plasa <dplasa@gmail.com> | 2020-05-26 19:25:43 +0200 |
---|---|---|
committer | Daniel Plasa <dplasa@gmail.com> | 2020-05-26 19:25:43 +0200 |
commit | 7dd7bbbee1f42d5f76a8f57a6658d0fb33bae12d (patch) | |
tree | 5f84c3e19a2021a82aaf9e5a4478e0bf331edd5b | |
parent | use ESP.getMaxFreeBlockSize() / 2 as transfer buffer size for RETR (diff) | |
download | FTPCLientServer-7dd7bbbee1f42d5f76a8f57a6658d0fb33bae12d.tar FTPCLientServer-7dd7bbbee1f42d5f76a8f57a6658d0fb33bae12d.tar.gz FTPCLientServer-7dd7bbbee1f42d5f76a8f57a6658d0fb33bae12d.tar.bz2 FTPCLientServer-7dd7bbbee1f42d5f76a8f57a6658d0fb33bae12d.tar.lz FTPCLientServer-7dd7bbbee1f42d5f76a8f57a6658d0fb33bae12d.tar.xz FTPCLientServer-7dd7bbbee1f42d5f76a8f57a6658d0fb33bae12d.tar.zst FTPCLientServer-7dd7bbbee1f42d5f76a8f57a6658d0fb33bae12d.zip |
Diffstat (limited to '')
-rw-r--r-- | espFtpServer.cpp | 1 |
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)) |