Odd FTP ASCII/BINARY transfer behavior after migrating to a new server

Posted by Incognita Mundi on Server Fault See other posts from Server Fault or by Incognita Mundi
Published on 2013-06-25T19:46:09Z Indexed on 2013/06/25 22:22 UTC
Read the original article Hit count: 197

Filed under:
|
|
|

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.

Thanks

© Server Fault or respective owner

Related posts about ftp

Related posts about file-transfer