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

Support for SSH_FXP_REALPATH #20

Open
drakkan opened this issue Oct 25, 2019 · 0 comments
Open

Support for SSH_FXP_REALPATH #20

drakkan opened this issue Oct 25, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@drakkan
Copy link

drakkan commented Oct 25, 2019

It seems that this library does not allow to query the remote path via sftp. So there are hacks such as this one:

https://github.com/niklas-8/RemoteFiles/blob/master/lib/services/connection_methods.dart#L87

to get the remote path. The problem here is that execute send an SSH exec request. SFTP only servers generally does not accept exec requests but only sftp requests.

In Jsch I think the method to use is realpath

See nn1ks/RemoteFiles#15

@shaqian shaqian added the enhancement New feature or request label Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants