g4g_createFolder

*//////////////////////////////////////////////////////////////*

* g4gdrv_createFolder - Create Folder *

* *

* Output: *

* out_errMsg - The error message (if error exists). *

* *

* Returns: *

* -1 for error, 1 for success *

* *

* Settable Variables ([r]=required) *

* id - Google ID [r] *

* folder_name - The fully qualified path of the folder to *

* create. [r] *

* in_parent_id - The parent ID to create the folder in. *

* create_parents - Whether or not to create the parent *

* folders if they do not exist. Defaults to *YES. *

* ccsid - The CCSID to use (1252) *

* debug - Turn on Debug (*NO, *YES) *

* debug_file - The debug file name. *

* (/tmp/g4g_[id]_createFolder.txt) *

* *

*//////////////////////////////////////////////////////////////*

D g4gdrv_createFolder...

D PR 10i 0

D out_errMsg 256 Options(*NOPASS)

g4gdrv_crtFolder will create a folder or path of folders on your Google Drive

Returns: 1 for successful creation, -1 for error.

Optional Parameters:

  • Error Message (output) - Error message

Settable Variables (use g4gdrv_setValue):

  • id (required) - Your Google ID

  • folder_name - Specify the fully qualified path of the folder(s) you wish to create.

  • in_parent_id - Specify the parent ID to create the folder(s) in.

  • create_parents - Specify *YES to create any parent folders that do not exist or *NO to cancel.

  • 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