question

BalajiG-6620 avatar image
0 Votes"
BalajiG-6620 asked MayankBargali-MSFT commented

Download file from IBM B2B File Gateway using Logic App

I am using SFTP-SSH connector to connect to a third party vendor's IBM B2B filegateway.
I can successfully post files to their SFTP.

But when I tried to download the files, it is complaining with a 404 error!
I can see the files using the "list Files in the Folder" action. In my next step, I am iterating though each items and tries to get file content using "Get file content using path". Here I am getting 404 error and the logs shows the entire path to the file I am trying to download.

Very much appreciated the possible solution!

81175-image.png

81212-image.png


azure-logic-apps
image.png (34.6 KiB)
image.png (29.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
1 Vote"
MayankBargali-MSFT answered MayankBargali-MSFT commented

Hi @BalajiG-6620

Welcome to Microsoft Q&A! Thanks for posting the question.

The issue is caused by some default settings on your SFTP server side. You can increase ExtractCount to at least 2 if the files are small (no chunking). Otherwise, it will need to be more than the number of chunking: https://www.ibm.com/support/pages/message-extractable-count-set-1-default

There are some scenarios where the extractable count is not something that can be changed at your server-side then unfortunately the scenario will not work.

If you are using any of the below SFTP servers then the connectors currently don't support them.
- IBM DataPower
- MessageWay
- OpenText Secure MFT
- OpenText GXS

Reference: https://docs.microsoft.com/en-us/azure/connectors/connectors-sftp-ssh#limits

Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Since the SFTP server is with our vendor and they don't want to make this change, I could not test this solution!
Thanks for your suggestion and I believe this is a possible solution. We might ask them to post the files to our internal server instead or use another client just to down load the file.

0 Votes 0 ·

@BalajiG-6620 Thanks for the update.

0 Votes 0 ·