Topic "Files corrupted while being transferred"

Author Message
mabo

Guest


Hey guys,

I need your help:

We usually transfer textfiles (e.g. HTML-documents) via scp to a linux-based remoteserver. As we found out, WinSCP replaces the content of copied files during the copying-process. It happens that this is a huge problem, because files are being grabbed by a script at random intervals. That means there is a chance that this script grabs a file which is just being replaced by WinSCP.

Is there a any setting to treat textfiles like binary files in terms of the copying-process? I think binary files are not being renamed to the original filename until they are copied entirely, right?

Thanks in advance.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
mabo wrote:
Is there a any setting to treat textfiles like binary files in terms of the copying-process? I think binary files are not being renamed to the original filename until they are copied entirely, right?

Yes, if configured so. You may force binary mode even for text files obviously.
_________________
Martin Prikryl
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