on 10-02-2008 3:11 PM
All -
I'm stuck on this one. Would anyone know why the File adapter would insert a New Line at the beginning of my file? The file is output correctly with the exception of a blank line at the very beginning of the file.
Are there any conversion parameters I need to supply for the receiver file adapter? I currently have:
data.endSeparator = 'nl'
data.fieldFixedLenths = 30,30,15,3
data.fieldNames = F1,F2,F3,F4
data.fixedLengthTooShortHandling = Cut
Thanks,
Dave
Ok, found the issue!
The File Adapter is configured as FTP and when the file is FTP'd to the target directory and viewed using Internet Explorer, a carriage return/line feed is added to the beginnig of the file. When I FTP the file from the remote directory to my local directory and then view the file, it's fine. Not sure why Internet Explorer changes the formatting of the file.
Bottom line - the remote file is fine.
Cheers,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmmm.. seems intresting.
Check the all parameter in your CC again.
Refresh the cache and then try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Is it possible that you may be sending an empty record at the beginning of your XML?
Can you attached the XML message as it gets to the File Communication Channel?
Kind regards,
Yaghya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.