change m and atime
This commit is contained in:
parent
751ce5bf6a
commit
37fad282e6
|
@ -49,6 +49,8 @@ func DownloadFTP(user string, password string, path string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
res.Close()
|
res.Close()
|
||||||
|
|
||||||
|
err = os.Chtimes(filepath.Join(path, file.Name), file.Time, file.Time)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue