?
Solved

ftp - how to resolve additional symbol at the end of the each line

Posted on 2006-07-13
3
Medium Priority
?
151 Views
Last Modified: 2010-04-13
Hi,
I would like to find how to resolve the additional symbol in text file at the end of each line.

I have transferred a text file to the server where each field is separated with a delimiter. at the end of the each line somehow it has additional symbol like small rectangle box.

Thank you
0
Comment
Question by:Yap_YokeWan
1 Comment
 
LVL 43

Accepted Solution

by:
Steve Knight earned 1200 total points
ID: 17106584
I imagine it is a carriage return or line feed character.  Try transferring it in ASCII mode if you currently use BINary or vice versa.

Unix uses differenet end of line characters to Windows / DOS is the reasoning behind this.

If the file is already on Windows open it up in EDIT and save and it sorts out the end of lines otherwise there are programs availabel on the net like dos2unix.exe which will do the conversion

Steve
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
With more and more companies allowing their employees to work remotely, it begs the question: What are some of the security risks involved with remote employees and what actions should we take to secure them?
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question