Indy FTP server question about SetCreationTime,SetModifiedTime,SiteUTIME events lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- snorkel · 2019-01-04 14:53 Hi, I have a windows Indy FTP server and I am trying to get it to run on Linux as well and the 3 events mentioned above have a ton of windows API calls mostly involving date time stuff and calls to the win api createfile to get a handle. Just wondering if anyone has a Indy FTP server that runs on linux and is setting those events even needed? i.e. will the default ones suffice? calls like: Windows.SetFileTime Windows.GetFileTime windows.DosDateTimeToFileTime I am having trouble finding FPC cross platform alternatives for these functions. ---------------------------------------------------------------------- lucamar · 2019-01-04 15:13 Quote from: snorkel on January 04, 2019, 03:53:06 pmcalls like: Windows.SetFileTime Windows.GetFileTime windows.DosDateTimeToFileTime I am having trouble finding FPC cross platform alternatives for these functions. Please, consult the documentation. For example: Windows.SetFileTime <-> SysUtils.FileSetDateWindows.GetFileTime <-> SysUtils.FileAge or SysUtils.FileGetDateetc.