|
From: | Lennart Borgman |
Subject: | [h-e-w] Tramp adds ^M^M to end of line |
Date: | Fri, 09 Jun 2006 20:24:36 +0200 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
I am using `copy-file' to upload single files to a web site on a unix host. I did not notice any problems as long as I just uploaded html-files, but when I uploaded a perl script I got into troubles. I took me quite some time to find out that `copy-file' somehow added ^M^M to end of line for all lines.
After some testing I found that this happens when the line ending style is DOS, but not if it is UNIX. So it seems like a ^M is added instead of removed in that case.
This site is reached through ftp. I use the ftp program from ftp://ftp.gnu.org/old-gnu/emacs/windows/contrib/ftp-for-win32.zip that is recommended at http://www.emacswiki.org/cgi-bin/wiki/AngeFtp#toc7. And `ange-ftp-ftp-program-args' has the standard value.
I do not know if this is a bug in the ftp-program, Emacs or my setup. I would be glad for some hints here! (I am cross-posting to be able to collect more info.)
[Prev in Thread] | Current Thread | [Next in Thread] |