it's not browser related. it's a server side issue. it should throw at least an error message if the line is uncommented. check your php debug levels to make sure errors are thrown.
To be sure,
//ftp_file( $ftp_server, $ftp_user_name, $ftp_user_pass, $source_file, $ftp_directory, $destination_file);
is the line.