Filezilla removes line breaks on php files

Javier Villanueva picture Javier Villanueva · Dec 28, 2010 · Viewed 11.5k times · Source

Possible Duplicate:
How can I stop Filezilla changing my linebreaks?

For some reason Filezilla sometimes removes line breaks on my php files making the code appear on a single line giving me a bunch of errors when I upload my projects, I was looking around and changed my transfer type to Binary but I still have the same issues, downloaded CuteFTP as well but same problem.

Does anyone know what can I do to fix this?

Thanks in advance!

EDIT: Now that I check, when I upload the files to my hosting they look in one line as well, but it doesn't give me any errors, the problem is when I upload to my clients host, could it be some configuration on the hosting or something?

Answer

change the "Transfer" to "Binary" (Do not keep it as a "Auto"). Restart Filezilla and upload files as it is.