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

Failed to parse returned path. #143

Open
Silverutm opened this issue Aug 26, 2019 · 3 comments
Open

Failed to parse returned path. #143

Silverutm opened this issue Aug 26, 2019 · 3 comments

Comments

@Silverutm
Copy link

Using filezilla to connect

Status: Connecting to 127.0.0.1:8022...
Status: Connected to 127.0.0.1
Status: Retrieving directory listing...
Command: pwd
Response: Current directory is: "."
Error: Failed to parse returned path.
Error: Failed to retrieve directory listing

@mscdex
Copy link
Owner

mscdex commented Aug 26, 2019

I'm assuming you've attempted to create an SFTP server using ssh2-streams? It sounds like you haven't implemented some requests being sent by FileZilla.

@Silverutm
Copy link
Author

tried the sftp download only example of ssh2

On filezila

Status:	Connecting to 127.0.0.1:37473...
Status:	Connected to 127.0.0.1
Status:	Retrieving directory listing...
Status:	Listing directory /tmp/foo.txt
Error:	Unable to open .: operation unsupported

On the terminal

sftp> get something.txt
File "/tmp/foo.txt/something.txt" not found.

but

me:/tmp/foo.txt$ ls
something.txt

@mscdex
Copy link
Owner

mscdex commented Aug 27, 2019

If I had to guess, I would say you're not properly handling 'OPEN' requests.

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