There are PC1 and PC2 running Windows. Please show me just a way to copy files over the network from PC1 to PC2
1 answer
Probably the easiest option.
PC1 https://golang.org/pkg/net/http/#example_FileServer
PC2 https://golang.org/pkg/net/http/#example_Get
On PC2 instead of ioutil.ReadAll(... https://golang.org/pkg/io/#example_Copy to a new open file.
Good luck
|