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

Created Unassigned: Sftp BeginUploadFile is not uploading [1629]

$
0
0
```
private void SendXmlFile(XDocument xDocument)
{
var fileName = GenerateFileName();

using (var client = new SftpClient("127.0.0.1", 990, "user01", "us3r01"))
{
client.Connect();

var stream = CreateStream(xDocument);
client.BeginUploadFile(stream, fileName, UploadCompleted);

client.Disconnect();
}
}
```

Viewing all articles
Browse latest Browse all 1026

Trending Articles



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