Reproduce:
```
var sftpClient = new SftpClient( server, port, user,
new PrivateKeyFile( new MemoryStream( Encoding.ASCII.GetBytes( privateKey ) ) ) );
// 4* 1024 - data will be corrupted, 1*1024 - data will be transferred OK
var dataToUpload = new string( '0', 4 * 1024 ) + "Z";
sftpClient.Connect();
sftpClient.WriteAllText( "incoming/text.txt", dataToUpload, Encoding.ASCII );
```
Comments: ** Comment from web user: olegkap **
```
var sftpClient = new SftpClient( server, port, user,
new PrivateKeyFile( new MemoryStream( Encoding.ASCII.GetBytes( privateKey ) ) ) );
// 4* 1024 - data will be corrupted, 1*1024 - data will be transferred OK
var dataToUpload = new string( '0', 4 * 1024 ) + "Z";
sftpClient.Connect();
sftpClient.WriteAllText( "incoming/text.txt", dataToUpload, Encoding.ASCII );
```
Comments: ** Comment from web user: olegkap **
Yea , no problem,
As soon as I finish some other minor fixes and failed test I will publish it,
Probably within next day or two.
Thanks,
Oleg