hello first of all i'm running debian sarge. when is save a file from windows trough ftp on my linux box (or i just use vi with ssh) my files look all like #!/usr/bin/perl^M ^M ^M %COLOR = (^M 'n_1' => "<FONT COLOR=\"#FF0000\">", ## kleur-code nr.1 voor namen en teksten^M 'n_2' => "<FONT COLOR=\"yellow\">", ## kleur-code nr.2 voor namen en teksten^M '<>' => "<FONT COLOR=\"#00FFFF\">",^M '-' => "<FONT COLOR=\"#FFFFFF\">",^M );^M ^M (small pice of a pl program) what are that ^M. because that my perl and cgi programms give a server error when i leav that in the line #!/usr/bin/perl^M. and is there a way to solve it. second i've running a pure-ftpd server and when i go to my server ftp.colddot.nl i get a welcom screen but i don't wanna have that i wanna have a direct inlog screen(this i have don trough internet explore) greets colddot ss i get this and i want this pleaz
This means you have saved the file with Windows linebreaks. You must save them with Unix linebreaks! I recommend to use an FTP client like smartFTP instead of the Internet Explorer.
UltraEdit-32 will do both (Unix linebreaks, and FTP) More info @ http://www.ultraedit.com/index.php?name=Content&pa=showpage&pid=1