change m and atime
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user