Download file from IBM B2B File Gateway using Logic App

Balaji G 1 Reputation point

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!



Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,832 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 49,961 Reputation points

    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:

    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


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