MFT Protocol Bridge Agent is designed to work with file based systems.
Customer has mentioned that they are using a SFTP server which is not file based and
using OnGetAttributes() to get file system information would fail.
To support such SFTP servers, Product has to be redesigned. Hence, the best way forward is to submit an RFE (Request for Enhancement).
As we highlighted below , we are able to deliver file manually with sftp session( login , cd to absolute path, then ‘put' )
But when we try it with PBA agent , error recorded is ECUSTOMS:/GB_EXP/flatfile.cusdec/9GB232128892000-1-037259F01.DAT" is not a normal file (it might be a directory).
Target sFTP client team response is below and highlighted that new process(PBA) is trying to showattr:OnGetAttributes which will not work
Success
However to me it appears to be an issue in your new processes not our sFTP which as shown is working in manual test session,
19:38:28,175 sftpevent:OnFileOpen(33934544, path=/GB_EXP/flatfile.cusdec/MS_0278030719203814000047_T55.DAT, flags=26, size=0)
19:38:28,269 sftpevent:OnFileWrite(33934544, offset=0) for first Mb only
19:38:28,363 sftpevent:OnFileClose(33934544, /GB_EXP/flatfile.cusdec/MS_0278030719203814000047_T55.DAT)
19:38:28,363 upload:putDoc '/GB_EXP/flatfile.cusdec/MS_0278030719203814000047_T55.DAT' started
19:38:28,363 progress:received 3660 bytes from client
19:38:28,394 upload:putDoc '/GB_EXP/flatfile.cusdec/MS_0278030719203814000047_T55.DAT' completed
19:38:28,394 progress:Starting processing of edoc with tid 0b0ef929-20f3-8936-01b2-a81939d44122
19:38:29,470 progress:Completed processing of edoc with tid 0b0ef929-20f3-8936-01b2-a81939d44122
Failure
But in the test system with your new processes you are generating the following at what would have been the same stage and at the end the SSH channel is closed
11:23:24,962 showattr:OnGetAttributes(8571001,/,0) -> type=2, size=0, umask=drwxr-xr-x, create=1562153004962, user= mime=MIMEType=;AllocationSize=0;ATimeNS=0;MTimeNS=0;CreateTimeNS=0;TextHint=0;LinkCount=0;UntranslatedName=
11:23:25,040 showattr:OnGetAttributes(8571001,/GB_EXP/flatfile.cusdec/text.xml,65535) -> type=2, size=0, umask=drwxr-xr-x, create=1562153005040, user= mime=MIMEType=;AllocationSize=0;ATimeNS=0;MTimeNS=0;CreateTimeNS=0;TextHint=0;LinkCount=0;UntranslatedName=
11:23:25,134 showattr:OnGetAttributes(8571001,/GB_EXP/flatfile.cusdec/text.xml,65535) -> type=2, size=0, umask=drwxr-xr-x, create=1562153005134, user= mime=MIMEType=;AllocationSize=0;ATimeNS=0;MTimeNS=0;CreateTimeNS=0;TextHint=0;LinkCount=0;UntranslatedName=
11:23:25,244 sftpevent:OnSSHStatus(8571001, SSH channel [54875652.0] closed.)