Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Issue: sftpClient.WriteAllText corrupts uploaded data [1481]

$
0
0
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 **

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


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>