#Best way to file transfer to remote server?

10 messages · Page 1 of 1 (latest)

stark pelican
#

What is the best way to transfer files through go onto a remote server?
I have a tar do i pipe into ssh <host> -- tar
OR should I use a scp client and then transfer it?

I was looking into this in particular:
https://github.com/bramvdbogaerde/go-scp

dapper owl
#

https put/post?

potent loom
#

rsync?

dapper owl
#

but otherwise scp if you want to rely on ssh (or rsync over ssh if it’s a sync and not one way copy need)

stark pelican
#

alr tysm

stark pelican
dapper owl
stark pelican
#

like im making an ssh wrapper

#

basically

#

and it's one way copy