One of our clients is using edtFTPnetPRO.dll version 220.127.116.11 to connect to a SFTP location via the BizTalk SFTP adapter. Today they reported an issue whereby files were not getting written to the configured location and the below exception was being thrown suggesting an issue with permissions:
Unable write file to /abc/def/ghi/kjl/123.TXT ---> EnterpriseDT.Net.Ftp.Ssh.SFTPException: Permission denied (code=3)
at N0yKvy3rx7RIrdwkeft.RZKe7m3PZSiXHWmIuR6.PqltnCQWNp(Int32 )
at N0yKvy3rx7RIrdwkeft.RZKe7m3PZSiXHWmIuR6.vlxt22pCR8(String , Int32 , roIgwGC2k8XIoTvWRlZ )
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.L6TBrilbWE(Stream , String , String , Boolean )
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Put(Stream input, String remote, Boolean append)
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Put(Stream input, String remote)
We suggested them to review the permission on the concerned folder.
They informed that they were able to perform the same action on the same folder using winscp.
Kindly help advise what further action can be done in this regard to troubleshoot/rectify the issue.