Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User home shorthand (~) support #1556

Open
msdobrescu opened this issue Dec 17, 2024 · 1 comment
Open

User home shorthand (~) support #1556

msdobrescu opened this issue Dec 17, 2024 · 1 comment

Comments

@msdobrescu
Copy link

SftpClient does not support '~'. This is used by SSH, as linux/unix, as a shorthand for the user home.
For instance, Exists would return false for a call with ~/something, although something would exists in user's home.
Is this a SFTP protocol limitation?

@Rob-Hague
Copy link
Collaborator

It seems like it is not defined in the SFTP protocol but there is an OpenSSH extension [email protected] for servers that advertise support: https://www.sftp.net/specification. This library currently does not have any implementation/awareness of the extension

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

No branches or pull requests

2 participants