Page 1 of 1

Non standard error message in core ftp server? (using SFTP)

Posted: Wed Dec 21, 2011 12:27 pm
by arielb
Hey, i've played a bit with core ftp server,
i tried to access non existing directory, and i got the following error : "bad message":

Remote working directory is /
psftp>
psftp>
psftp> ls
Listing directory /
drw-rw-rw 1 root root 0 Dec 20 11:02 .
drw-rw-rw 1 root root 0 Dec 20 11:02 ..
psftp>
psftp>
psftp> cd asdadsfg
[b]Directory /asdadsfg: bad message[/b]
psftp> cd sdsdfsdfsdlfjksdlfks
[b]Directory /sdsdfsdfsdlfjksdlfks: bad message[/b]
psftp>


if i'm using any standard sftp server, i get the standard msg:
psftp>
psftp>
psftp> cd jkgkhg
Directory /home/myself/jkgkhg: [b]no such file or directory[/b]
psftp>


is this a bug in core ftp server?

its kinda urgent, thanks!

Posted: Wed Dec 21, 2011 1:55 pm
by arielb
by the way, i get the same "bad message" for a folder that i denied reading from it, and exists. instead of permission denied.

whats the deal?

Posted: Fri Dec 23, 2011 4:17 pm
by ForumAdmin
It looks like it's the utility you are using is not handling the SSH_FX_FAILURE message.

its not that,

Posted: Tue Dec 27, 2011 7:48 am
by arielb
I tried using putty, and even CURL library.
i get the same error, and not the standard.

what tool are you using? i can try to use that

Posted: Thu Dec 29, 2011 7:07 am
by ForumAdmin
Looked into this issue again, and will change the response code to:
SSH_FX_NO_SUCH_FILE

Which looks like the error you are receiving.

Fixes will be in build 414 and greater.

Perfect

Posted: Thu Dec 29, 2011 9:21 am
by arielb
But it needs to be QAed, to check that the putty receives that error
and for example, when i use CURL library, i should get 78 - remote file not found

thanks!

Posted: Fri Jan 13, 2012 9:15 pm
by ForumAdmin
Build 419 should have the updates