Keep Time when tranferring files

Advertisement

TheSeiko
Guest

Keep Time when tranferring files

WinSCP 5.9.3 (Build 7136)

Option to keep time is checked in preferences and in the connection target properties.

using winscp as a batch job

data and time of the uploaded files are changed to transfer date and time.

was working with 5.7.7 (build 6257)

Windows 10 Professional

Protocol: ftp

open target01
lcd C:\OCRVideoReader\x_infoscreen\
put -delete *.jpg -resume
put -delete *.xml -resume
close

open target02
lcd C:\OCRVideoReader\x_metacommunication\
put -delete *.jpg -resume
put -delete *.xml -resume
close

open target03
lcd C:\OCRVideoReader\x_observer\
put -delete *.jpg -resume
put -delete *.xml -resume
close

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Keep Time when tranferring files

Please attach a full session log file showing the problem (using the latest version of WinSCP and if possible even using 5.7.7).

To generate the session log file, use /log=path_to_log_file command-line argument. 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.

Reply with quote

Guest

Log Transfer01
Log Transfer02
Files after FTP

for example:

File: '1484606814552.jpg' [2017-01-16T22:46:54.710Z]
after transfer '1484606814552.jpg' 17.01.2017 11:25
  • transfer01_files.jpg (349.15 KB, Private file)
Description: Files after FTP
  • _transfer02.log (42.69 KB, Private file)
Description: Log Transfer02
  • _transfer01.log (51.86 KB, Private file)
Description: Log Transfer01

Reply with quote

Advertisement

Guest

old version winscp log
directory screen
  • transfer01_files_alt.jpg (280.81 KB, Private file)
Description: screen directory after upload
  • _observer.log (42.04 KB, Private file)
Description: log older winscp version

Reply with quote

martin
Site Admin
martin avatar

The server behaves differently in the session for 5.9.3.

While it would be strange, one of the reasons might be that with 5.7.7, you use TLS/SSL, while with 5.9.3 you are not.

Reply with quote

Guest

I'm using TLS/SSL only with one connection with the old WinSCP. The other two are without encryption on both (old/new) WinSCP. The appearance is the same with three different connections / servers.

I'll try to recreate the settings, I've imported them from the old WinSCP.

Reply with quote

Guest

Hmm ... I tried and updated the old WinSCP to the current version. There it is working.

Have you heard anything that a Sophos firewall could intercept the ftp communication and alter the Date / Time?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Your feedback from email:

I've talking to a IT-Sec guy responsible for the firewall.

He told me that the firewall is intercepting the ftp traffic with ftp proxy for content check. He thinks that the command for keeping date / time -

MDTM he mentioned - may not be implemented in the sophos ftp-proxy.

Reply with quote

Advertisement

You can post new topics in this forum