Skip to content

Comments

Handle NoSuchPath response#265

Open
elbandi wants to merge 1 commit intotenstad:mainfrom
elbandi:fix-no-such-path
Open

Handle NoSuchPath response#265
elbandi wants to merge 1 commit intotenstad:mainfrom
elbandi:fix-no-such-path

Conversation

@elbandi
Copy link
Contributor

@elbandi elbandi commented Feb 8, 2026

Some ssh server (eg mikrotik ssh) respond differ if stat path not exists

_, err = sftpClient.Stat("nopath/notexist.txt")

This patch fix that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant