Files corrupted while being transferred

Advertisement

mabo
Guest

Files corrupted while being transferred

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,122
Location:
Prague, Czechia

Re: Files corrupted while being transferred

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

Reply with quote

Advertisement

You can post new topics in this forum