Skip to Content
0
Former Member
Feb 10, 2012 at 07:06 PM

Seeburger SFTP with conversion

40 Views

Hi all,

I need to download simple xml structure form sap proxy to SFTP tab delimited file on SFTP server <<XXX>> on path <<YYY>>:

file structure:

<head>

<root>

<data1>

<data2>

<root>

.....

<root>

<data1>

<data2>

<root>

</head>

localejbs/Seeburger/solution/sftp

localejbs/AF_Modules/StrictXml2PlainBean

localejbs/ModuleProcessorExitBean

parameters:

dataRec.fieldSeparator - \t

singleRecordType - dataRec

When using this on some SFTP server <<XXX>> (or using StrictXML2PlainBean module on FTP server) i got expected result on some path <<ZZZ>> with key <Z>.

data1 data2

data1 data2...

But for some paths <YYY> on that same SFTP server <<XXX>> (using key <X> ) this generates file

data 1 data2

... with lot of empty rows but file size is same as when generated correctly.

Tried using AF_Modules/MessageTransformBean also and got same result.

Have anybody have ever similar situation? Is this bug with SFTP adapter or something additional need to be configure in SFTP adapter?

When I put file manually on SFTP server it is there copied fine so no authorization or connection problem.

Best regards,

Nenad