Jump to content


ASCII files being uploaded incorrectly

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 SS_Fly

  • Members
  • 1 posts

Posted 24 September 2011 - 08:41 AM


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?

#2 mb



  • Administrators
  • 11973 posts

Posted 24 September 2011 - 04:25 PM

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