It would be great if one could upload files under a different name. For example: $ php cp2google.php /path/to/file remote_file_name In this case, the second parameter would specify the new file name.