Preservation of timestamp in FTP

I found a couple of posts on this topic but not an answer. Is there an FTP client that the FTP server recognizes that will preserve the timestamp of uploaded files? I have tried WinSCP and FileZilla but the transfer target always puts the current date-time in the Last Modified column while the source shows the correct last edited date-time. Is the FTP server not capable of preserving the source date-time at all? (Yes, I have both FTP clients set to transfer and preserve the date-time stamp.)

The reason it ups the current date and time is because it’s creating a new file on the server when it uploads the data.

I don’t know of any FTP client that can then go in and change the file created date.

3 Likes

“Preserve Timestamp” is the default setting for transfers in both FileZilla and WinSCP. It keeps the same date on the target file as it was on the source. As far as I can find out on Google there are 2 reasons that it doesn’t work. Either the setting isn’t set to preserve or the target server doesn’t understand it from the FTP client.

It’s possible that our FTP server doesn’t support this feature.

Is there any particular reason why you need it?

4 Likes

It makes it easier for me to compare what I have on my computer vs. what’s on the FTP server to match the last update date. I sort both by the update date and anything that doesn’t match easily stands out. Right now everything on the web server has the date that I uploaded when I moved here. For me, it’s the easiest way to sort the files and compare time stamps rather than alpha sort. Once the server overlays the original time stamp that field becomes useless to me.

Older web servers may not support it, but if it does then the FTP client allows people to turn on/off “preserve timestamp” to suit their own needs. If it’s something the FTP server support can turn on, that would be great.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.