2 questions

Discussion in 'Server Operation' started by ColdDoT, Mar 28, 2006.

  1. ColdDoT

    ColdDoT Member

    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
    [​IMG]

    and i want this pleaz
    [​IMG]
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  3. ColdDoT

    ColdDoT Member

    is there any program what do the job for me.

    thx men
     
  4. edge

    edge Active Member Moderator

  5. falko

    falko Super Moderator ISPConfig Developer

Share This Page