change m and atime

This commit is contained in:
dom
2020-07-26 20:26:35 +02:00
parent 751ce5bf6a
commit 37fad282e6

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