1
0

Revert "Use the legacy SCP protocol for directory transfers instead of SFTP"

This reverts commit cc1261b0b0.
This commit is contained in:
2023-03-16 18:54:48 +00:00
parent 12d5d43d7a
commit feb1ab7d37

View File

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