Thanks for reply.
The code I posted was in originally : cmd = sshClient.CreateCommand("cd /nfs/iil/proj") , I am trying any way to make it works.
When i'm saying "it just wont do" i meant - while trying to change directory using "cmd = sshClient.CreateCommand("cd /nfs/iil/proj")"
and then running cmd = sshClient.CreateCommand("pwd") I would expect to see the new path in the cmd.result - which I'm not.
The code I posted was in originally : cmd = sshClient.CreateCommand("cd /nfs/iil/proj") , I am trying any way to make it works.
When i'm saying "it just wont do" i meant - while trying to change directory using "cmd = sshClient.CreateCommand("cd /nfs/iil/proj")"
and then running cmd = sshClient.CreateCommand("pwd") I would expect to see the new path in the cmd.result - which I'm not.