cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver FTP

Former Member
0 Kudos

Hi,

I am using Receiver FTP content conversion and generating a CSV file

I have 6 records output in the file and unfortunately starts with an empty two lines.

I have used the following parameters

File Encoding: UTF-8

FCC Parameters:

Record.endSeparator = 'nl'

Record.fieldSeparator= ,

Let me know whether anything else needs to be given on the same.

Regards

Krish

Accepted Solutions (1)

Accepted Solutions (1)

manish_bhalla2
Contributor
0 Kudos

Hi Krish,

Are you able to share a sample XML that is being converted to CSV?

Cheers

Manish

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Totally agreed with hareen , u can use Document offset = 2 to remove initial lines.

As Document Offset ignores lines from top

Regards,

Shradha

Former Member
0 Kudos

Hi Krish,

If you would like to eleminate the first empty lines, then use the parameter Document offset = 2 in Content conversion parameters.

The conversion paramters specified by you are enough.

I hope this help you.

Thanks,

Former Member
0 Kudos

Dear Friend,

Document offset is not possible in Receiver File communication channel.

Please check your receiver message structure.

Regards,

Prashant

Former Member
0 Kudos

Hi Prashanth,

Thanks, I thought the issue seems to be with the sender file adapter, so suggested.

Krish, Please ignore the previous message from me.

Krish, the parameters specified by you should be ok to work.

Edited by: Hareenkumar on Oct 28, 2010 9:47 AM

Former Member
0 Kudos

If you know which one generate empty line, like below, Tail structure generate blank line, you can use following in FCC to remove the blank lines

Tail.fieldFixedLengths 0

Tail.fixedLengthTooShortHandling Cut

Tail.endSeparator '0'

Regards

Liang