SAP MII – SFTP Action block feature video blog
The following document will guide you, how to use the SFTP Action blocks fetaure which have been added in SAP MII 15.0 SP08 and MII 15.1 SP03 onwards.
Thanks to Salvatore Castro for helping with the code & Implementation and also assisting with the testing issues.
Business Scenario for Using SFTP Action Block:-
When integrating various systems in a manufacturing environment a need can arise where you need file access, file transfer and file management over any reliable data stream. That is where, SFTP comes into the picture. These action blocks acts as SFTP client through them we can connect to the SFTP server and Copy file content, paste the content in any file , delete a file, create new directory adn delete file/ directory.
For details kindly refer to the help link, where paramter details are available :-
Also, a detailed working video for SFTP Action blocks :-
I am trying to read files on a remote SFTP server.
I am getting the following error within milliseconds.
I can connect with a third party FTP service from the MII server, so I don't believe the issue is with a firewall block.
Is there some type of configuration required at the netweaver layer?
Hi Bill Doyle,
I appreciate it has been a while since you made this comment but I was willing to ask if you were able to resolve this issue. I'm facing a very similar situation and if you could please share what the solution was it would be really appreciated.
Thanks in advance!
Ricardo
Hi Nirjar Gandhi,
Thanks for the video.
I was wondering if you have the details regarding other configuration like KeyStoreName, CertificateName, EncodedKeyType, PrivateKeyName and UseSecureStore. These are not covered by the documentation and I wanted to run it by you in case you know how to set it up when a certificate is required.
Thanks,
Ricardo
Hi Ricardo,
We are trying to setup certificate/key based authentication with SFTP.
It is working using basic username and password but the authentication not working using KeyStore details. As you were trying this last year so if you can share us some detail steps for the configurations then that would be of great help.
Thanks,
Subhankar
Hi Subhankar,
The customer decided basic authentication was enough because it was a local transfer (inside the same network). So we ended up not configuring certificates.
Thanks,
Ricardo