Solved

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

Posted on 2006-07-13
3
143 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
3 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 300 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Facing problems with you memory card? Cannot access your memory card? All stored data, images, videos are lost? If these are your questions...than this small article might help you out in retrieving your lost or inaccessible data.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now