|
@@ -271,6 +271,7 @@ func WriteFile(basedir string, fpath string, bs []byte, mtime time.Time) (err er
|
|
func WriteRemoteFile(username, password, hostport, remotepath, fpath string, bs []byte, mtime time.Time) error {
|
|
func WriteRemoteFile(username, password, hostport, remotepath, fpath string, bs []byte, mtime time.Time) error {
|
|
fmt.Println("copy to:", fmt.Sprint(username, ":", password, "@", hostport, "/", remotepath, "/", fpath))
|
|
fmt.Println("copy to:", fmt.Sprint(username, ":", password, "@", hostport, "/", remotepath, "/", fpath))
|
|
hp := strings.Split(hostport, ":")
|
|
hp := strings.Split(hostport, ":")
|