Gossamer Forum
Home : General : Perl Programming :

What's 1210 bare linefeeds received in ASCII mode?

Quote Reply
What's 1210 bare linefeeds received in ASCII mode?
Hello !

I use CuteFTP to upload my script on my server. This is a simple script and it works with another server. CuteFTP show me this message after it transfered my script :

226-WARNING! 1210 bare linefeeds received in ASCII mode
File may not have transferred correctly.

(I got the same message when I used WSFTP)

I think my script cannot transfer under mode ASCII so that I got Error 500. (what you think?)

I tried to upload it on Hypermart.net and it worked well.

Anyone got this problem before please tell me what is it and how can I make the script work.

Thanks alot.
N.A

Quote Reply
Re: What's 1210 bare linefeeds received in ASCII mode? In reply to
Never had that problem myself, but you had better check with you Host as it could be something wrong at their end!

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: What's 1210 bare linefeeds received in ASCII mode? In reply to
you have to select to send the file in ascii mode..

bare linefeeds means when you send an ascii file in binary mode..

hypermart and many other free hosts do it automatically.. in cuteftp.. you can do this by clicking on the ascii mode button in the toolbar..

Jerry Su
http://www.jsu07.com
Quote Reply
Re: What's 1210 bare linefeeds received in ASCII mode? In reply to
You will get bare linefeeds in ascii mode.
Arachnophilia has a tool which fixes line endings.
First it removes all \r (carriage returns) and replaces all \n (newlines) with \r\n and that fixes it.

Bob
http://totallyfreeads.com