remote 命令

This commit is contained in:
Cheney
2025-03-13 15:48:22 +08:00
parent 7eccf1bf15
commit 658a7031b6
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -172,6 +172,7 @@ module.exports = class Remote {
}
async wUpload(from, to, debug){
$logger.info(`from=${from} to=${to}`)
const totalSize = fs.statSync(from).size;
debug ? console.log("totalSize", totalSize) : null
const rs = fs.createReadStream( from );