ASCII files being uploaded incorrectly

Hi,

I am working on a website where I was using PHP's GD library to generate images. However, whenever I saved the script using the built-in editor the page would show up blank - no errors from PHP were output. Uploading the script using a different FTP client caused the script to perform normally.

I have had issues like this in the past, and I suspect that SmartFTP is uploading the file using UTF-8 encoding, despite me having disabled that. (Transfer -> Code Page)

Is this some kind of bug, or is there another thing I need to do when uploading these type of files?

Upload the files in binary mode. The Transfer -> Code Page has no effect on how files are transferred.