cancel
Showing results for 
Search instead for 
Did you mean: 

I need to move a file (any type) from an FTP server to another file server

Former Member
0 Kudos

Hi All,

I need to move a file (any type) from an FTP server to another file server as-is (no mapping) via XI.

My input text file content is like :

}}{4: <b>'nl'</b>:20:MTID000033.1 '<b>nl'</b>

:25:456011111111 <b>'nl'</b>

:28:33/1 <b>'nl'</b>

:60F:C070210USD0,<b> 'nl'</b>

:61:070212C15762,6NTRFNONREF//.68454CBA XFR TO.JMB011-101 '<b>nl'</b> 456022222222 <b>'nl'</b>

:86:CC '<b>nl'</b>

out file contained 'nl' at end of ecah line but i don't need it('nl' which is in bold) in target file. It would be great if any one help me regarding this. Advanced Thanks.

<b>Note: we are using XI 3.0</b>

Regards,

Nag.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

try this out...

/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp

Ranjeet.

prateek
Active Contributor
0 Kudos

Hi,

Different ways,

/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover

Regards,

Prateek

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

just read the UPDATE section of this weblog

(at the bottom)

(remove content conversion from your communication channels) and it will work as you want

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Mickel,

Thanks for your fast response. removed the content conversion but didn't get the output. is there any limitation (i.e it needs to SP14)?

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

no there's no limitation

Regards,

michal

Former Member
0 Kudos

Hi Michel,

have got the output in xml format as below but i want text as is from source to target. can plz u help me on this.

<?xml version="1.0" encoding="utf-8"?>

<ns:MT_MT950_SENDER xmlns:ns="URN:RRTODM">

<recordset>

<record>

<row>}</row>

</record>

</recordset>

</ns:MT_MT950_SENDER>

Former Member
0 Kudos

Hi,

Did you use the file content conversion parameter:

<recordstructure>.endSeparator

With value:

'nl'

Former Member
0 Kudos

Hi,

yes, I used field separator value as 'nl' in both source and target adaptors.

Regards,

Nag.

Former Member
0 Kudos

Hi,

yes, I used field separator value as 'nl' in both source and target adaptors.

Regards,

Nag.

Former Member
0 Kudos

Hi Nag,

Since you gave the parameter as <recordstructure>.endSeparator = <b>'nl'</b> a new line separator will come.

If you dont want any separator then specify the following..

<recordstructure>.endSeparator = '0'

Cheers,

Sumit

Former Member
0 Kudos

Summit,

Thank you. Have got the output as i wish.

Cheers,

Nag.

Former Member
0 Kudos

Hi Nag,

Good to knw tht..Mark the thread as answered.

Regards,

Sumit