Download file from IBM B2B File Gateway using Logic App

Balaji G 1 Reputation point
2021-03-24T13:47:57.523+00:00

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
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,833 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,396 Reputation points
    2021-03-24T15:04:58.683+00:00

    Hi @Balaji G

    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://learn.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.

    1 person found this answer helpful.