Solved

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

Posted on 2006-07-13
3
145 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 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