Re-implement age data upload via SFTP (download will continue to use new method)

This commit is contained in:
2026-01-08 20:39:44 -05:00
parent 07571a698d
commit d0e8640ce6
6 changed files with 52 additions and 30 deletions
+2 -2
View File
@@ -125,8 +125,8 @@ func main() {
}
}
// print EntryRoot and bool indicating OS type to stdout for client to store in config
registerResp := synccommon.RegisterResp{EntryRoot: global.EntryRoot, IsWindows: global.IsWindows}
// print EntryRoot, AgeDir and bool indicating OS type to stdout for client to store in config
registerResp := synccommon.RegisterResp{EntryRoot: global.EntryRoot, AgeDir: global.AgeDir, IsWindows: global.IsWindows}
registerRespBytes, err := json.Marshal(registerResp)
if err != nil {
fmt.Printf("{\"errMsg\":\"%s\"}", err.Error())