SSH.NET
SSH.NET copied to clipboard
SftpClient.ChangeDirectory does not affect SftpClient.Create() or SftpClient.Open()
If one changes directory with sftpclient.ChangeDirectory(path) and then tries to create a file in the new path sftpclient.Create(filename)
the Create command does not see the change directory.
The same happens with other SftpClient functions like Open()
Best regards.