Topic "Little problem with timestamps"

Author Message
eXemonY

Guest


It must be an stupid question, but i can't figure it out by myself..

Well the problem I'm having is, my client saves files with the timestamp DD/MM/YYYY HH:MM:SS and my server does it as DD/MM/YYYY HH:MM I would like to know how i can mask the timestamps of my client while synchronizing it.

Hope you can understand it, not native though.

Thank you in advance.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I'm not sure I understand the problem. What is "my client"?
eXemonY

Guest


First of all, thanks for your answer.

Well, my computer is the 'client' and I save the files in DD/MM/YYYY HH:MM:SS, now I encounter the problem while I try to synchronize my files with my NAS that saves the modification date as: DD/MM/YYYY HH:MM, so, when I compare them it always says I have a newer one as it has seconds.

I cannot connect my NAS through SFTP only FTP, so I cannot use the 'synchronize timestamps' option.

Thanks again, hope you could help me Wink
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
If the FTP server reports times with minute-precision only, WinSCP recognizes that, and considers minutes only, when comparing files.

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
eXemonY

Guest


Thank you, hope it helps. In that case I synchronized 5 files, all starting as: 'Jesus-MINHO_***' and all of them were already uploaded. Thank you Wink
log.log (49.94 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
OK, this is a known bug:
https://winscp.net/tracker/show_bug.cgi?id=1342

WinSCP 5.7.5 with the fix will be released later today or tomorrow.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License