#1  
Old 28th March 2006, 20:08
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColdDoT
Default 2 questions

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
__________________
2B or not 2B (a pro)
Reply With Quote
Sponsored Links
  #2  
Old 29th March 2006, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by ColdDoT
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.
This means you have saved the file with Windows linebreaks. You must save them with Unix linebreaks!

Quote:
Originally Posted by ColdDoT
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)
I recommend to use an FTP client like smartFTP instead of the Internet Explorer.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th March 2006, 15:15
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColdDoT
Default

Quote:
Originally Posted by falko
This means you have saved the file with Windows linebreaks. You must save them with Unix linebreaks!
is there any program what do the job for me.

thx men
__________________
2B or not 2B (a pro)
Reply With Quote
  #4  
Old 29th March 2006, 18:54
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 264
Thanked 151 Times in 131 Posts
Default

Quote:
Originally Posted by ColdDoT
is there any program what do the job for me.

thx men

UltraEdit-32 will do both (Unix linebreaks, and FTP)
More info @ http://www.ultraedit.com/index.php?n...showpage&pid=1
Reply With Quote
  #5  
Old 29th March 2006, 19:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

You could also use Weaverslave: http://www.weaverslave.ws/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hostname & DNS questions... SurfingAlien Installation/Configuration 6 16th October 2007 16:32
Mandriva 2006 Install questions bersi Installation/Configuration 26 1st November 2006 16:52
Few questions about Fedora core 4 perfect setup + mantasman HOWTO-Related Questions 3 9th January 2006 22:22
postfix questions Ovidiu Server Operation 1 23rd October 2005 13:20
Newbie questions SidSkiba Installation/Configuration 2 29th August 2005 20:51


All times are GMT +2. The time now is 14:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.