You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Handling files with empty line as the end of the file

edited Mar 6, 2020 6:13AM in Integration 8 comments

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 writing

Content

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!