This commit is contained in:
yumoqing 2025-04-15 17:48:46 +08:00
parent d2a9bd15bf
commit 0fb8951b22

View File

@ -372,11 +372,11 @@ class SshConnector:
self.refconn = refconn
async def r2l(self, rf, lf):
x = await asyncssh.scp((self.conn, rf),
x = await asyncssh.scp((self.conn, rf),
lf,
preserve=True,
preserve=True,
recurse=True)
return x
return x
async def l2r(self, lf, rf):
x = await asyncssh.scp(lf, (self.comm, rf),