Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Corrupted files during SFTP synchronization

You do not want to use the -resume, unless you really want to resume a previously interrupted download, and you are sure that neither the source nor the destination file has changed since the interrupted transfer.
mateusz.naskret

Corrupted files during SFTP synchronization

I am writting again becouse problem is still not solved.

We are using now Winscp v.5.5.3 (build 4214).

There is a change in what i described before.

What is happening: file has repeated content at the end (see example in attachment).

When it is happening:
- we have a automatic job that executes:
put D:\GIO3\sip\css_sip\naglowek.inc  /incoming/htdocs/css_sip/naglowek.inc -resume  -permissions=755

- problem occures only in case when i edit a destination file so it has newer date than a source file (i am not sure if it matters but i am adding something to destination file and then removing it so the file content before and after my change is the same)

I am wondering how "resume" option is working ? Do i need it ? Anyway i think something is wrong.
mateusz.naskret

Corrupted files during SFTP synchronization

I have upgraded WinSCP to latest version 3 weeks ago. From this time it didn't happen again. I will write again if it will occur again.
martin

Re: Corrupted files during SFTP synchronization

Can you enable logging and attach a log file for a respective session once the problem occurs?
mateusz.naskret

Corrupted files during SFTP synchronization

I cannot reproduce it "on demand" but i have noticed that it happens only when there was no changes in source folder for a longer time (few days), so few days there was nothing to synchronize.
martin

Re: Corrupted files during SFTP synchronization

Can you reproduce this easily or does it happen randomly?
mateusz.naskret

Corrupted files during SFTP synchronization

I have very strange problem with corrupted files during synchronization over SFTP. I have no idea how it is possible but after synchronization some files (I am sending only PHP files) are mixed - in updated file there is part of old file. Updated file has a correct file size and date - but in content there is one "segment" from old file.

Synchronization is done via scripting: synchronize command with switches: -mirror -delete -permissions=755

I am using WinSCP v. 5.1.4 on Windows XP machine.