on 03-26-2014 7:53 AM
Hi Experts,
Do we have any adapter module for FTP to SFTP conversion in PI 7.1
thx
Can someone please share an idea/document in building a custom adapter for SFTP in PI 7.1
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith - If you don't want to buy an adapter on the current service pack / update the service pack to get it free from SAP.. then the only option i can think of is..
Place the files on NFS..
write java prog to transfer them from NFS to SFTP server
Call that java program in the file receiver channel using " execute OS commands" option..
You can find many libraries(zehon,jcraft..) using which you can transfer the files to SFTP..
Hi Smith - You can just google for " send files to SFTP server using Java". you should find many sample libraries..
one among -
http://www.jcraft.com/jsch/examples/Sftp.java.html
Then create a batch file to call this java program
Schedule that batch file on the server according to your requirement..
OS Commands might not be useful as you are appending the files..
If you use the "execute OS commands" option in the file receiver channel which is appending the files, please note that these commands will be executed whenever it writes a file(appends).
These commands will be executed on the PI Operating System..
If you are going with this approach - Then you have to handle the logic in your java program to check for the current time and process them to SFTP server based on your needs.
Any other valuable suggestion please...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith,
AFAIK, We can't convert FTP to SFTP , as both adapters use different transport protocol (Network layer protocol).
File adapter uses - FTP as Transport protocol , where as
SFTP adapter uses - SFTP as Transport protocol.
We can't convert(FTP to SFTP) transport protocol in PI server , please check with network team for any available work around.
Thanks
Hari.
Hi ,
SFTP adapter is available from SAP PI 7.1 SP8.If you are in lower service pack then do the upgrade to PI 7.1 SP8.Even if you try to tweak it to make it work , SAP will not support it and therefore maintenance will be an issue in long term.
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.