Handling files with empty line as the end of the file
Summary
We have a requirement wherein we have to poll the files from a source FTP server and write them to the target FTP server. The source file is having an empty line at the end of the file. While writingContent
Here are the options that we have tried:
1. Have defined nXSD at both source and target adapter on how to read and write the file contents. Mapped the content as is from source to target. But while running the integration, an empty line is written to the target file. We are specifying the end of line for each record but ideally, we have to specify the end of file in nXSD to avoid writing empty line. We couldn't able to do that.
Tagged:
0