1
0
Fork 0

Use the legacy SCP protocol for directory transfers instead of SFTP

timestamps
dump_stack() 2023-02-16 08:30:29 +00:00
parent 24b6749504
commit cc1261b0b0
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ func (q System) scp(user, localPath, remotePath string, recursive bool) (err err
}
if recursive {
args = append(args, "-r")
args = append(args, "-O", "-r")
}
args = append(args, localPath, user+"@"+addr+":"+remotePath)