diff --git a/src/plugins/common/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperatebaseworker.cpp b/src/plugins/common/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperatebaseworker.cpp index 24d1917a1f..896d2623a6 100644 --- a/src/plugins/common/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperatebaseworker.cpp +++ b/src/plugins/common/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperatebaseworker.cpp @@ -651,7 +651,7 @@ bool FileOperateBaseWorker::checkAndCopyFile(const DFileInfoPointer fromInfo, co while (bigFileCopy && !isStopped()) { QThread::msleep(10); } - if (fromSize > bigFileSize) { + if (fromSize > bigFileSize && FileUtils::isSameDevice(fromInfo->uri(), targetUrl)) { bigFileCopy = true; auto result = doCopyLocalByRange(fromInfo, toInfo, skip); bigFileCopy = false;