HomeForum
Welcome, Guest

Line Terminator problem
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Line Terminator problem

Line Terminator problem 1 year, 1 month ago #2339

  • Adrian
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
Hi,

I have a situation where I am downloading a tab delimited .txt file from an FTP site and then loading the file to a table via a package.

The transformation that is reading and writing the tab delimited .txt file to the table works great when I run it independently outside the package with the file sitting in a local network folder.

The problem I am having is when the file is downloaded from the FTP site via an FTP Operation within a package. The file layout seems to change.

The transformation does not read the file correctly and no records are being inserted into the table.

When I open the transformation and view the file again after the FTP download, all the data appears to be in one record. If I change the Line Terminator within the Reader from {CR}+{LF} to {LF} the data then shows correctly.

This has never been a problem in the past. Why is this happening?

Your help is appreciated.
Adrian

Re: Line Terminator problem 1 year, 1 month ago #2340

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
Can you email us your ftp log please, it was greatly extended in latest version
It might happen if ASCII transfer is used instead of binary

Peter

Re: Line Terminator problem 1 year, 1 month ago #2341

  • Adrian
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
I have just downloaded text file from our own ftp site and it did not replace {CR}+{LF} to {LF}
Is there any chance you can create for us a separate account on your ftp site so we can test it?

Peter
  • Page:
  • 1
Time to create page: 0.16 seconds

Testimonials

"Using Active Table Editor is the easiest way of editing lookup tables  I've ever seen. A free 30-day trial is available on their Web site; the only issue is that when the 30 days are up, you're going to want to buy it."
- Moo Ling, Software Enginier

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top