I have a .html file with some scripts in it. Works fine on localhost but when I copy it on a server (use ftp) it copies with all text in one line, so of course scripts don’t work. How can I fix this?
Is windows->linux problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is probably a CRLF / LF problem (resulting from the different ways operating systems handle newline characters).
See: