Browse Source

change m and atime

master
dom 10 months ago
parent
commit
37fad282e6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ftpActions.go

+ 2
- 0
ftpActions.go 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


Loading…
Cancel
Save