SFTP server reply SSH_FXP_STATUS for SSH_FXP_REALPATH

Report bugs or issues with Core FTP Server here
Locked
ManishPatidar
Posts: 2
Joined: Wed Aug 03, 2016 3:04 pm

SFTP server reply SSH_FXP_STATUS for SSH_FXP_REALPATH

Post by ManishPatidar »

Hi

While downloading a file ,Our SFTP client send SSH_FXP_REALPATH for valid file present in current working directory. path in the SSH_FXP_REALPATH request is /1.txt.

Server is replying with SSH_FXP_STATUS with error code 4 ( no such file or directory)

Same work fine in case of other server like openssh .

So please help me to know that is there any limitation of server or is there any usage issue .

Regards
Manish
ForumAdmin
Site Admin
Posts: 1006
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

try /<user>/1.txt

specify build also
ManishPatidar
Posts: 2
Joined: Wed Aug 03, 2016 3:04 pm

SFTP server reply SSH_FXP_STATUS for SSH_FXP_REALPATH

Post by ManishPatidar »

Server reply failure for SSH_FXP_REALPATH for file present in current working directory
but when we send SSH_FXP_REALPATH for directory , server reply success

Get("1.txt") -- failed with error code 4
Get("2") -- real path is passed for directory 2 but later fail to download as 2 is directory

so I doubt it may be server issue.
Locked