• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Ascii mode transfers

My web server is a debian linux machine, and I edit web pages on a windows machine.
When I upload, i get the ^m thing at the end of everyline when viewed with a linux text editor.
I know that uploading with ascii mode will stop this and do the conversion for me. But I use webdrive and edit my page right on the server. It doesn't seem to want to allow ascii mode when doing it this way. But i do not want to go back to the old fashioned, edit on you local machine, then upload, thing.
Can anyone tell me, do the ^M characters at the end of each line, only visible in a linux text editor, really matter at all as far as search engines are concerned? Or are there any other problems this may cause?
0
TuscolaCounty
Asked:
TuscolaCounty
  • 3
  • 3
1 Solution
 
ahoffmannCommented:
depends on your editor
in vi you do
  :g/^M$/s///g

where ^M is ctrl-V followed by return

or you have some tools to do that, like dos2unix, or you can use tr like:

  tr -d '\013' <infile>outfile
0
 
TuscolaCountyAuthor Commented:
I do not quite understand what you are saying here ahoffmann
0
 
ahoffmannCommented:
I gave an answer to:
> Can anyone tell me, do the ^M characters at the end of each line, only visible in a linux text editor
0
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.

 
TuscolaCountyAuthor Commented:
I am not trying to view the characters in another (windows based) text editor.
I was just wondering if they make any impact at all as far as search engine spiders go.
Since I cannot see them when editing in my windows app, I do not know when they are being added. They don't affect the performance of the site at all, so I didn't think they would impact any other aspect of the site.
0
 
ahoffmannCommented:
> .. cannot see them when editing in my windows app ..
stupid app ;-)

as long as these are only html pages and not any programs affected (in particular CGI-BIN files), there should not be a difference
the additional useless byte per line also should not cause big problems
0
 
TuscolaCountyAuthor Commented:
It's not the windows app fault. No windows based app I have come across will show these.
But ok, it's been a while since i posted this and no problems have come of it, so i will close the question. Thanks for the answers.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now