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

Apr 18, 2013 at 11:59 AM
MethodName => RequestOpenDir
Error Code => 33383300
LogLevel => Error
Stack Trace => Renci.SshNet.Common.SftpPathNotFoundException: No such file
at Renci.SshNet.Sftp.SftpSession.RequestOpenDir(String path, Boolean nullOnError)
at Renci.SshNet.SftpClient.InternalListDirectory(String path, Action1 listCallback)
at Renci.SshNet.SftpClient.ListDirectory(String path, Action
1 listCallback)
Apr 18, 2013 at 5:38 PM
can you paste the part of the code that generates the error and the values passed?
Jul 3, 2013 at 10:01 AM
Edited Jul 3, 2013 at 10:03 AM
  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.
Jul 3, 2013 at 6:22 PM
Why do you expect this unix/linux-command to work on a windows machine?