Home » Infrastructure » Unix » Line count problem with FTP option
Line count problem with FTP option [message #251060] Thu, 12 July 2007 06:05 Go to next message
s.ravikumar
Messages: 9
Registered: June 2006
Location: CBE
Junior Member
Hi,

I have one text file with 3 lines (eg.) , but when a transfer it to local machine through FTP I found one additional blank line. Let me know Why it is happening and How to get exact lines as the source text file.

thanx
ravi
Re: Line count problem with FTP option [message #251244 is a reply to message #251060] Thu, 12 July 2007 13:58 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
make sure you use binary not ascii mode. do a dump on the source & target files to look for different LF or CR/LF characters. Use "od" on Unix to do octal dump.
Previous Topic: Is it possible to load data from a text file to other one text file using SQL LOADER?
Next Topic: TZ = AEST - AIX Env settings
Goto Forum:
  


Current Time: Fri Apr 19 20:22:53 CDT 2024