Skip to Content

Different IP address: Diferent file format at receiver FTPwith same FCC par

Hi

a strange issue..

File -> XI -> File Scenario.

A tab seperate file is picked from source FTP, and Sucessfully

created at receiver FTP at my desktop.

at receiver file adapter the parameter i am using are :

ROOT.endSeparator = '0x0D''nl'

ROOT.fieldSeparator = ,

Fname.fieldFixedLengths = 0

till now every thing went fine.

But when i change the IP address of my receiver file adapter , from my desktop IP to target production system IP address FTP.

Now the file created is different , then what it was created in my Desktop FTP.

Note : on opening both files in notepad , thier is no difference found...

Regards,

Ashutosh R

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 15, 2008 at 10:41 AM

    Note : on opening both files in notepad , thier is no difference found...

    Then wht is the problem. I think the visible content is same. The difference may lie due to OS differences

    Regards,

    Prateel

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 15, 2008 at 12:32 PM

    Strangly

    i change the FCC parameter to :

    ROOT.endSeparator = 'nl'

    now the target file is opening in correct format in excel as correct file..

    any clues regarding this...

    Regards,

    Ashutosh R

    Add comment
    10|10000 characters needed characters exceeded

    • I have some idea but not the exact may be.

      The problem could be related to codepage. Almost all FTP servers support unicode and they interprete 0x0D as beginning of unicode sequence. The usage of this code with nl must be somehow inserting new line due to probable conflicts. Just a vague idea. 😊

      Regards,

      Prateek