No problem. Glad to hear you've got it working :-)
Original Message:
Sent: Wed September 20, 2023 06:07 AM
From: Laxman Porandla
Subject: Issue while transferring files from SFG/B2Bi to remote SFTP server
Hi Richard,
Thanks for the information provided. Now it working, like pulling the files from remote SFTP to SFG using Get service after adding mailboz add service.
Thanks for the support.
Regards,
Laxman
------------------------------
Laxman Porandla
Original Message:
Sent: Mon September 18, 2023 05:26 AM
From: RICHARD CROSS
Subject: Issue while transferring files from SFG/B2Bi to remote SFTP server
Hi Laxman,
If I understand you right you are using the SFTP Client Get service to pull files from a remote server and want to know how to tell SFG where to put the files?
I believe what happens is that the files are stored as Documents in B2Bi with the document id(s) returned in ProcessData under DocumentList. You'll then need to use the Mailbox Add service to store these as messages in the mailbox of your choice.
Hope that help.
Richard.
------------------------------
RICHARD CROSS
Original Message:
Sent: Sat September 16, 2023 01:33 AM
From: Laxman Porandla
Subject: Issue while transferring files from SFG/B2Bi to remote SFTP server
Hello Richard,
Good day. Thanks for the reply.
Yes, now we are able to transfer files from SFG to remote SFTP server using PUT service. In BP we have includes SFTP Client begin session, SFTP list service, SFTP client PUT sevice, SFTP client GET service and SFTP end sessions.
When we execute that BP it is executing successfully. In Get service we kept remote filename to pull and we gave the local path as /mailbox/bob where we thought that the files from remote SFTP server should be pulled and kept in the mentioned mailbox loaction.
Here my quirey is is there any possibility to that like pulling that files from remote SFTP service to mailbox path, if yes could you please share infomation for that to done.
We appretiatee your support.
Thanks
------------------------------
Laxman Porandla
Original Message:
Sent: Thu September 07, 2023 05:07 AM
From: RICHARD CROSS
Subject: Issue while transferring files from SFG/B2Bi to remote SFTP server
Hi Laxman,
The docs are actually quite useful in terms of defining the parameters with example code snippets: https://www.ibm.com/docs/en/b2b-integrator/6.1.2?topic=z-sftp-client-put-service
You could also try looking at the out of the box BP AFTRouteSFTPPUT. Key parameters on the PUT are to ensure you pass the session id from the Client Begin and the document list if you don't want to send PrimaryDocument.
Best regards.
------------------------------
RICHARD CROSS
Original Message:
Sent: Wed September 06, 2023 07:34 AM
From: Laxman Porandla
Subject: Issue while transferring files from SFG/B2Bi to remote SFTP server
Dear Team,
Greetings of the day.
Basically we have installed IBM sterling filegateway the latest version 6.1.2 in Linux, where we are trying to transfer files from IBM SFG to remote SFTP server. We have created SFTP client adapter and then we have created SSH remote profile wherewe have passed the remote SFTP server details and then we have created SFTP client PUT service and then we are using the default business process SFTPClientDemoAllServices where we have changed the parameter in SFTP begin session and we got stucked at what parameters need to pass at SFTP PUT services. Could any help us writing BP for transferring files from SFG to remote SFTP server. Could anyone please try to provide a sample test BP to transfer files from SFG to SFTP server which could be helpful for us.
We really appretiate your support.
Thanks
------------------------------
Laxman Porandla
------------------------------