ssh2-streams icon indicating copy to clipboard operation
ssh2-streams copied to clipboard

Failed to parse returned path.

Open Silverutm opened this issue 5 years ago • 3 comments

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

Silverutm avatar Aug 26 '19 10:08 Silverutm

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.

mscdex avatar Aug 26 '19 15:08 mscdex

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

Silverutm avatar Aug 27 '19 04:08 Silverutm

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

mscdex avatar Aug 27 '19 04:08 mscdex