I recently got a dedicated server and after migration to the new machine I started noticing problems with file transfers.
My FTP client, despite being set to auto, keeps uploading php files in binary mode and the content of those files is messed up.
Since I mostly upload files of different kinds it would be annoying to change from binary to ASCII every single time, beside, I never had such problems.
What could be the cause of this behavior?
My dedicated server runs CENTOS 6.4 and the ftp server is Pure-FTPd.
I tried different FTP clients and they all have the same problem so I assume is soem misconfiguration on the server side.