You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you create a new connection and leave the path empty the default value is ~ and this result in sending an ssh exec command to the SFTP server. An SFTP server could disable exec at all and so the app hangs and don't return the list of files.
I think the code that produces this behaviour is this (not tested):
The file list hangs if you don't set a path in the connection page
Expected behavior
An SFTP client should not rely on ssh command but only on SFTP commands.
I suggest to get the current directory using the SFTP command if no path is given
The text was updated successfully, but these errors were encountered:
Describe the bug
When you create a new connection and leave the path empty the default value is
~
and this result in sending an sshexec
command to the SFTP server. An SFTP server could disableexec
at all and so the app hangs and don't return the list of files.I think the code that produces this behaviour is this (not tested):
https://github.com/niklas-8/RemoteFiles/blob/master/lib/services/connection_methods.dart#L87
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An SFTP client should not rely on ssh command but only on SFTP commands.
I suggest to get the current directory using the SFTP command if no path is given
The text was updated successfully, but these errors were encountered: