Corrupted PHP file

Core FTP client questions and answers
Post Reply
brsabini
Posts: 2
Joined: Thu Dec 02, 2010 1:42 am

Corrupted PHP file

Post by brsabini »

I have one simple PHP files called "show.php". This file always become corrupted at the remote server whenever I FTP this file using CoreFTP 2.1 build 1637. This does not happen with other PHP files nor when using other FTP program. I have scrutinized this file using all kind of tricks I know of but found nothing wrong. Even editing the file completely nor changing the filename does not solve the problem.

What kind of file would CoreFTP corrupt ?
ForumAdmin
Site Admin
Posts: 1011
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

The only thing that comes to mind is if you are trying to resume instead of overwriting a text file. This could cause strange results.
brsabini
Posts: 2
Joined: Thu Dec 02, 2010 1:42 am

Corrupted PHP files

Post by brsabini »

[quote="ForumAdmin"]The only thing that comes to mind is if you are trying to resume instead of overwriting a text file. This could cause strange results.[/quote]

Thanks for the reply.

I have tried deleting the file at remote server. I tried sending the file using different names but no dice. I tried creating a new file and paste the content of the said file. The result is still the same.

I noticed that in the corrupted file, all lines became one long line. It is as if all the carriage returns were deleted. :?
Post Reply