Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: (Renci.SshNet.Common.SftpPathNotFoundException: No such file )exception comes with window sftp server in uploading file.

$
0
0
  using (var sshClient = new SshClient(this.sftpClient.ConnectionInfo))
  {
     sshClient.Connect();
     var cmd = sshClient.CreateCommand("df -k | grep c:\folder\");
     var response = cmd.Execute();                             
   }

This code I want to execute in windows SFTP server. It will give detail of free space available on given directory.
This is not work with window sftp server.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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