I am getting some strange results using read file, then using write file with the output.
The text file I am reading is just a regular text file with about 10 lines in it.
When the Read File task is run, the standard output shows the file being read fine with no extra characters at the end.
I then use a Write File task to append this data to a different text file using:
{STRING(Trim|{TASK(c405ba85-1769-4ade-80d7-c836f5cc5572,StdOut)})}
When I look at the file afterwards, the original text is there, along with the text from the new file, and then 2850 space characters. This extra output is affecting the next step in the job, but I cannot find out why it is putting them there. As stated above, the extra characters do not show up in the Read File task Output or Error Output. Can anyone shed some light on this?