G4GDLOAD

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

                      Download Google Drive File (G4GDLOAD)                    
                                                                               
 Type choices, press Enter.                                                    
                                                                               
 Google ID  . . . . . . . . . . . ________________________________________________________
 Google Drive File ID . . . . . . ________________________________________________________
 Download from folder . . . . . . ________________________________________________________
 Download file name . . . . . . . ________________________________________________________
 Convert file . . . . . . . . . .   *NO           *YES, *NO    
 Conversion Mime Type . . . . . . ________________________________________________________
 Local directory to download to   ______________________________________________________
 Local file name  . . . . . . . .   *DFT                            
 Replace local file if exists . .   *NO           *YES, *NO         
 CCSID  . . . . . . . . . . . . .   1252          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 download a file from.
  • Google Drive File ID - If known, enter the Google Drive File ID of the file to download. If this is used the Download from folder and file name are ignored.
  • Download from folder - Enter the fully qualified path of the folder to download the file from. Use the special value of *ROOT to download a file from the root directory.
  • Download from file name - Enter the file name of the file you wish to download.
  • Convert file - Specify *YES if you wish to convert the file when downloaded. This option is required and only valid for files already in a Google Doc format.
  • Conversion Mime Type - If you are converting the file during the download, specify the mime type for the downloaded and converted file.
  • Local directory to download to - Enter the fully qualified path the directory in the IFS to download the file to.
  • Local file name - Enter the file name you wish to give to the file when it is downloaded. The value of *DFT will use the Download from file name value.
  • Replace local file if it exists - Specify *YES to replace the file if it exists in the IFS or *NO to cancel if the file already exists in the IFS.
  • 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>_download.txt will be used where <id> is the ID associated with the request.