G4GUPLOAD

The G4GUPLOAD command is used to upload a file from your IBM i (AS/400, iSeries, etc) Integrated File System (IFS) to your Google Drive.

                      Upload File to Google Drive (G4GUPLOAD)   
             
 Type choices, press Enter.

 Google ID  . . . . . . . . . . .   ___________________________________________
 File to upload . . . . . . . . .   ___________________________________________
 File name  . . . . . . . . . . .   *DFT
 File content type  . . . . . . .   *DFT
 Upload to folder . . . . . . . .   *ROOT
 Replace file . . . . . . . . . .   *YES
 Convert file . . . . . . . . . .   *YES
 Create parents . . . . . . . . .   *NO           *YES, *NO
 CCSID  . . . . . . . . . . . . .   819           Number
 Debug  . . . . . . . . . . . . .   *NO           *YES, *NO
 Debug File . . . . . . . . . . .
                                                                         Bottom
 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display   
 F24=More keys        
                                                         


  • Google ID - Enter the Google ID associated with the drive you wish to upload to.
  • File to upload - Specify the fully qualified path to the file on the IFS that you wish to upload.
  • File name - Enter the resulting filename you would like to use when the file is placed in your Google Drive.  The value of *DFT will use the file name (without the path) of the file you are uploading.
  • File content type - Enter the content type of the file you are uploading.  The value of *DFT will attempt to look up the content type in the G4GCTTPF file.  Please check this file for the file extension and associated content type if you are unsure of what will be used.
  • Upload to folder - Specify the path on your Google Drive you wish to place this file.  This parameter IS case sensitive.  The value of *ROOT will place the file in the root of the Google Drive.
  • Replace file - Specify *YES to replace the file if it already exists or *NO to add a file with the same name if it already exists.
  • Convert file - Specify if you wish to convert the file to it's Google Doc format once uploaded.
  • Create parents - Specify *YES to create the folder path(s) if they do not exist before uploading the file.
  • CCSID - Enter a CCSID for data translation.
  • Debug - Enter *YES to debug this command.
  • Debug File - Enter the fully qualified path and name of the IFS file to store the debug data.  If left blank the default of  /tmp/g4g_<id>_upload.txt will be used where <id> is the ID associated with the request.

Comments