change m and atime

This commit is contained in:
dom 2020-07-26 20:26:35 +02:00
parent 751ce5bf6a
commit 37fad282e6
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ func DownloadFTP(user string, password string, path string) error {
}
res.Close()
err = os.Chtimes(filepath.Join(path, file.Name), file.Time, file.Time)
}
return nil