povsister / scp

Production-ready Secure Copy Protocol (SCP) implementation in Golang
https://pkg.go.dev/github.com/povsister/scp
MIT License
45 stars 10 forks source link

third party copy? #1

Closed cooperspencer closed 3 years ago

cooperspencer commented 3 years ago

Is it possible to implement an option to copy from remote to remote, like -3 in scp?

povsister commented 3 years ago

As you can see in README.md. There is a statement saying:

  • Won't support:
    • Copy file from remote to remote.

Although it's possible to do that, I didn't feel necessary to implement the "remote to remote". You can simply copy files to a local temp location, then copy them to another remote host.

cooperspencer commented 3 years ago

Oh sorry, I overlooked that part. In that case the issue is closed.