You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Susmit Sarkar <Su...@precisely.com> on 2021/01/18 16:26:09 UTC

SftpErrorStatusDataHandler resolveErrorMessage () is not propagating back the custom message to the SSH client

Hello MINA team,

We are stuck with an issue, and need your help

SftpErrorStatusDataHandler resolveErrorMessage() is not propagating back the custom message to the SSH client like PUTY, although it works fine with FileZilla or WinScp.

We have our custom SftpErrorStatusDataHandler but although the message is getting set but final custom message to the SSH client is not being shown

sftp> put Test.jar
Uploading Test.jar to / Test.jar
remote open("/Test.jar"): Failure

We think it may be a issue in the library

Thanks,


—
Susmit Sarkar
Senior Software Engineer I
Precisely.com

 p +91 80 6828 4040<br />ATTENTION: -----
The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other confidential and/or legally privileged information. Any pricing information contained in this message or in any files transmitted with this message is always confidential and cannot be shared with any third parties without prior written approval from Syncsort. This message is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any use, disclosure, copying or distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Syncsort and destroy all copies of this message in your possession, custody or control.

RE: SftpErrorStatusDataHandler resolveErrorMessage () is not propagating back the custom message to the SSH client

Posted by Susmit Sarkar <Su...@precisely.com>.
Hello Team,

Any update shall be helpful

Just to keep you guys informed.

For Apache sshd:

[cid:image001.jpg@01D6EE6A.E5DBF530]

For commercial  SFTP server library, I  am sending the custom error message and client is able to display it properly

[cid:image003.jpg@01D6EE6A.E5DBF530]

Will be awaiting for your reply

Thanks,

-
Susmit Sarkar
Senior Software Engineer I
Precisely.com
From: Susmit Sarkar
Sent: 18 January 2021 21:56
To: dev@mina.apache.org
Cc: Sreedhar Janaswamy <Sr...@precisely.com>
Subject: SftpErrorStatusDataHandler resolveErrorMessage () is not propagating back the custom message to the SSH client

Hello MINA team,

We are stuck with an issue, and need your help

SftpErrorStatusDataHandler resolveErrorMessage() is not propagating back the custom message to the SSH client like PUTY, although it works fine with FileZilla or WinScp.

We have our custom SftpErrorStatusDataHandler but although the message is getting set but final custom message to the SSH client is not being shown

sftp> put Test.jar
Uploading Test.jar to / Test.jar
remote open("/Test.jar"): Failure

We think it may be a issue in the library

Thanks,