Azure Logic App SFTP SSH Create File fails with "No partial file found. Please restart file transfer" for files greater than 15 MB

Balaji 21 Reputation points
2021-07-22T20:09:58.583+00:00

I am using SFTP SSH connector to post blob files to the SFTP server.
My workflow is :

list blobs (Azure Blob Storage Action) ->get blob content using path ( Azure Blob Storage Action) ->create File in SFTP using SFTP-SSH connector.

Everything was working with smaller files. When I want to send a file with size > 15 MB, it started failing. The chunking is ON for the action. Now I am seeing any files which is greater than the chunk size is failing and I have the following error.

{
"status": 400,
"message": "No partial file found. Please restart file transfer.\r\nclientRequestId: 9e292563-48f4-4c26-a62b-98d7eca0d5fd",
"error": {
"message": "No partial file found. Please restart file transfer."
},
"source": "edited the server details here"
}

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

Answer accepted by question author
  1. MayankBargali-MSFT 70,986 Reputation points Moderator
    2021-07-23T07:36:01.98+00:00

    @Balaji As per the error message and client ID that you have shared it looks like the Logic app uploaded the first chunk. From here, connector is unable to find that partial file created by the first request. This signifies that some other service is managing the SFTP server folder and probably deleting the partial files created as part of the chunked transfer mode.

    I have tested the same at my end for the SFTP server created using this script (creating SFTP server on azure) and couldn't observe any issue while uploading the file greater than 15 MB (tested with 49 MB file). This looks like the issue at your SFTP server end where the chunk file created are deleted/removed there and the next request gives the 400 error.

    I will suggest you to change the "Infer content type" to No and see if it helps you. If not then the suggested to verify whether your SFTP server folder is not locked by other service or retry with a new folder?

    117335-image.png

    117384-image.png

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.