g4gdrv_upload will upload a file from your IFS to your Google Drive
Returns: 1 for successful upload, -1 for error.
Folder or file ID that was created or uploaded.
Error Message (output) - Error message
Settable Variables (use g4gdrv_setValue):
id (required) - Your Google ID
in_drive_id - Specify the shared drive ID to upload to, blank for your personal drive.
in_drive_name - If you don't know the shared drive's ID, specify the name and the ID will be attempted to be found.
upload_file - The fully qualified path to the file you wish to upload.
upload_file_name - The name of the file as it will appear in your Google Drive
upload_file_content_type - The Content Type of the file you are uploading.
in_parent_id - Specify the folder ID of the folder you wish to upload to. This can be used in place of upload_to_folder.
upload_to_folder - The Google Drive Folder you wish to upload the file to. *ROOT can be used as a special value.
replace_file - Specify *YES (default) to replace a file if it exists when uploading it, *NO to cancel if the file already exists or *ADD to add another file with the same name if the file already exists.
convert_file - Specify if you wish to convert the file to it's Google Doc format after uploading.
ccsid - The CCSID to use. The default is 1252.
debug - Specify *YES to turn on debug, or *NO to turn off debug. The default is *NO.
debug_file - Specify the fully qualified file name for the main debug file. The default is /tmp/g4g_[id]_upload.txt