Revert "Use the legacy SCP protocol for directory transfers instead of SFTP"
This reverts commit cc1261b0b0
.
This commit is contained in:
parent
12d5d43d7a
commit
feb1ab7d37
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user