daylight saving time causes WINscp to start uploading all previously opened but unchanged files

Advertisement

harmenmeijer
Joined:
Posts:
1
Location:
Netherlands

daylight saving time causes WINscp to start uploading all previously opened but unchanged files

WinSCP is running mostly always on my machine which is on 24/7. I had opened many remote files in my external editors (phpstorm or UltraEdit) during the last months via WinSCP. Most I had already closed in my editor but WINScp was still tracking them in my temp folder. When daylight saving time began on 28th of march at 2 am (advancing to 3 am) WinSCP detected that all files that had ever been opened had changed (they had not of course) and started uploading them to the remote site. This caused serious problems because it replaced newer remote files uploaded by others.

This problem exists for years and surfaces both at the start and the end of daylight saving, So twice a year. This year I forgot to close WinSCP prior the beginning of DST and ran into a lot of trouble after it uploaded old stuff.

WinSCP 5.17.8 Build 10803 (but this problem is not new in this version, I have noticed it for a few years now)
Windows 7 Enterprise SP1
ssh as protocol

LOG:
. 2021-03-28 03:02:32.940 [Background 1] Copying 1 files/directories to remote directory "/usr/local/apache/htdocs/*********/" - in parallel, with 1 total files - total size: 10.605
. 2021-03-28 03:02:32.940 [Background 1]   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: Yes; Mask: 
. 2021-03-28 03:02:32.940 [Background 1]   TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2021-03-28 03:02:32.940 [Background 1]   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2021-03-28 03:02:32.940 [Background 1] File: 'C:\Users\****\AppData\Local\Temp\scp16855\usr\local\apache\htdocs\*********************\index.php' [2021-03-07T20:18:59.575Z] [10605]
. 2021-03-28 03:02:32.940 [Background 1] Copying "C:\Users\****\AppData\Local\Temp\scp16855\usr\local\apache\htdocs\******\index.php" to remote directory started.
. 2021-03-28 03:02:32.940 [Background 1] Binary transfer mode selected.
. 2021-03-28 03:02:32.940 [Background 1] Opening remote file.
etc....

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum