When we are trying to read data from an FTP server using the sFTP - SSH get file content action we have an issue when the file is larger than the chunk size. When this happens, the action reads the file until the chunk size and then appends the beginning of the file again.
So to give an example, our file looks like this
<?xml>
<root>
<branch>some_data</branch>
<branch>some other data</branch>
</root>
after the action downloaded it from the sFTP server it looks like this in the logic app:
<?xml>
<root>
<branch>some_data</branch>
<?xml>
<root>
Is this a known bug? This does not happen when the file is smaller than the chunk size.