Topic "WinSCP transfers files open for writing, causing data loss"

Author Message
trybowski2

Guest


I am having a huge problem with WinSCP. The files that I transfer with it, are truncated, but there is no error message in the log. WinSCP is run from script every 5 minutes. After an investigation it turned out, that WinSCP transfers the file while it is still being generated. I have no influence on the application that generates the file.

What I'd like is to have WinSCP not touch the file that is still being written to. That is, if file is locked for writing, but accessible for reading, ignore it. Is this possible?

If that's not currently possible, I propose this is treated as a bug and addressed ASAP.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
It is not possible. I do not consider it bug. WinSCP behaves exactly as it is allowed to.
_________________
Martin Prikryl
trybowski2

Guest


In this case, let's add an option to switch the behaviour. This would avoid data loss while using WinSCP.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
trybowski2 wrote:
In this case, let's add an option to switch the behaviour. This would avoid data loss while using WinSCP.

Maybe if more people ask for it.
_________________
Martin Prikryl
trybowski2

Guest


Allright, let's move this to wishlist then.
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