diff --git a/native/serverconnection/src/connection/ft/FileTransferManager.cpp b/native/serverconnection/src/connection/ft/FileTransferManager.cpp index bfd5a41..ac98b36 100644 --- a/native/serverconnection/src/connection/ft/FileTransferManager.cpp +++ b/native/serverconnection/src/connection/ft/FileTransferManager.cpp @@ -688,7 +688,7 @@ JSTransfer::JSTransfer(std::shared_ptr transfer) : _transfer(m this->_transfer->callback_failed = [&](std::string error) { this->call_failed(std::forward(error)); }; this->_transfer->callback_finished = [&](bool f) { this->call_finished(std::forward(f)); }; this->_transfer->callback_start = [&] { this->call_start(); }; - this->_transfer->callback_process = [&](uint64_t a, uint64_t b) { this->call_progress.call_cpy(a, b); }; + this->_transfer->callback_process = [&](uint64_t a, uint64_t b) { this->call_progress.call_cpy(a, b, true); }; } JSTransfer::~JSTransfer() { diff --git a/native/serverconnection/src/connection/ft/FileTransferObject.h b/native/serverconnection/src/connection/ft/FileTransferObject.h index a9ff7ac..da3c919 100644 --- a/native/serverconnection/src/connection/ft/FileTransferObject.h +++ b/native/serverconnection/src/connection/ft/FileTransferObject.h @@ -1,6 +1,7 @@ #pragma once #include +#include #include "FileTransferManager.h" namespace tc {