ssh2-streams
ssh2-streams copied to clipboard
Failed to parse returned path.
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
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.
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
If I had to guess, I would say you're not properly handling 'OPEN' requests.