Local file dates are not set to remote file dates in FTP sync

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Local file dates are not set to remote file dates in FTP sync

Post by *wisekat »

I am frequently using the Synchronize directories dialog to sync files between my local HDD and a remote file server via FTP (updating a website). Earlier versions of TC automatically set the date/times of local files to the corresponding date/times of their remote counterparts after uploading. However, this no longer happens after upgrade to the v9.22a.

Has something changed in the TC behavior and now we need to configure this option explicitly (say, with a setting in the .ini file)?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Local file dates are not set to remote file dates in FTP sync

Post by *sqa_wizard »

#5767 Personal license
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Re: Local file dates are not set to remote file dates in FTP sync

Post by *wisekat »

I checked the FTP log - the MDTM command is supported by the server I am uploading files to. I do not think that something related to timestamps has changed on the server recently, so it looks like a bug in the new version of TC.
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Re: Local file dates are not set to remote file dates in FTP sync

Post by *wisekat »

The Set local file date to remote date command from the context menu in the Synchronize directories dialog also works without any problems.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Local file dates are not set to remote file dates in FTP sync

Post by *petermad »

2wisekat
Maybe you have accidently deselected this option: http://madsenworld.dk/tcmd/preserve_file_dates.png

The option is present for download, and for upload if the server supports it.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Re: Local file dates are not set to remote file dates in FTP sync

Post by *wisekat »

I am very sorry for starting this thread, but it seems TC works correctly. I mistakenly thought that it is a bug in TC because my software I am using to edit the source files of the website (Visual Studio) no longer asks me to reload modified files after synchronization with the server via FTP. It happened after I had upgraded from VS 2017 to VS 2019.

To forum admin: I don't mind deleting this thread not to confuse the author and other users of TC.
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Local file dates are not set to remote file dates in FTP sync

Post by *Hacker »

[mod="Hacker"]Moved to the English forum.[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply