cancel
Showing results for 
Search instead for 
Did you mean: 

Extra line at the end of file when transferred from XI to FTP.

Former Member
0 Kudos

Hi All,

Need help regarding the below query.

I have an inbound structure with the below format

MT_RAVE_L 1..1 (is the main node)

Logistic Info 1..Unbounded (this is the structure under the main node)

LOGSOPTUN 1..1 (this is below Logistic Info field)

File_Name 1..1 ( This is also below main node with the same level of Logistic Info structure)

(Tried to insert a pic of the mapping but was unsuccesful)

We are trying to move a file from XI to FTP. the file is being created in FTP succesfully but an extra blank line is being inserted at the end of the file.

After lot of investigation we could trace the it is because of the File_Name field data is being not moved to inbound file.( Here we are using the File_Name field data for creating a file name in FTP. i.e., the File_Name is the File name under which our data is being stored in FTP and that is the reason we are not using File_Name in Content Conversion)

Can you please suggest ways so that the empty line is not created.

Thanks in advance

LRK.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Have you set the property in File adapter lastFieldOptional.

Thanks and Regards

Hemant