RemoteFileInfo.LastWriteTime return HH:mm:00 only

Advertisement

ryannwb
Guest

RemoteFileInfo.LastWriteTime return HH:mm:00 only

Dear Admin,

I want to ask about RemoteFileInfo.LastWriteTime,
It always return HH:mm:00, seconds section (ss) always show 00. in my case I list ftp per second and filtered list with DateTime that has been saved last Listed, is there any possible if I want to retrieve list file per second?? if possible, how I can afford that? it seems LastWriteTime only return HH:mm:00.

Thanks for your help.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,070
Location:
Prague, Czechia

Re: RemoteFileInfo.LastWriteTime return HH:mm:00 only

Many FTP servers do not provide seconds in timestamps. There's hardly anything you can do about it. If possible, use SFTP.

See also https://winscp.net/eng/docs/timestamp ("Timestamp precision" section).

Reply with quote

Advertisement

You can post new topics in this forum