Wrap FTP upload workaround in a #define to make it easier to disable.