title: WinSCP error code 4 when uploading large file
body: <p>I'm trying to move a file from my local machine to another machine into which I've SFTP-ed.</p>
  
  <p>The file has 160MB. The transfer stops after a quarter of the file is moved over, with the following message:</p>
  
  <blockquote>
    <p>Copying files to remote side failed<br>
    General Failure(server should provide error description)<br>
    Error code: 4<br>
    Error message from server: Failure</p>
  </blockquote>