One of my client's site is hosted in a linux based server (managing with CPanel). When I published the site, I gone through a strange issue.
All files in the server (for some particular folders) are compressed. I am not talking about GZIP or related compression. Even when I upload a file and open the file from the server, every spaces and linebreaks are strippedof.
Stripping all spaces and linebreaks creates several code error (mainly with comments). So I need to stop this behavior.
Please help me to resolve this issue by some how. I have server controls through CPanel (Having a limited control). Let me inform you that this issue is visible only for certain folders.
It sounds like your FTP program is in Text Mode and for some reason it's stripping out all whitespace. That is not normal, but try uploading in Binary Mode to see if that works around the issue.