Load a file to Google Drive.

1 google.drive.upload

Load the indicated file to Google Drive.

<google.drive.upload
    credentials-json='credentials-json'
    credentials-path='credentials-path'
    file-name='file-name'
    file-type='file-type'
    folder-id='folder-id'
/>

Obtener credenciales

To obtain the credentials, go to the section google.drive.list

Example

Download the desired file of Google Drive.

Copy
<xsql-script name=''>
    <body>
        <google.drive.upload credentials-path="/Users/afp/Desktop/clientsecret.json" 
                file-name="Example" 
                file-type="application/json"
                folder-id="0B_kCxfwKVMTLYjJ5Mm5CbmthaWc"
        >
            <file name='/Users/afp/Desktop/clientsecret.json' type='absolute' />
        </google.drive.upload>
    </body>
</xsql-script>