Build
Upload a file with Google Drive in Duaer
In Duaer, Google Drive defaults to Authentication OAuth2, Resource File, and Operation Upload. Input Data Field Name defaults to data. You need a googleDriveOAuth2Api credential.
Upload a file
- Create a googleDriveOAuth2Api credential (or switch to Service Account in the panel).
- Search for Google Drive, connect it after a node that has binary data, and select that credential.
- Leave Resource on File and Operation on Upload.
- Leave Input Data Field Name on data (or set your binary field). Optionally set File Name, Parent Drive, and Parent Folder.
- Select Execute step.
Under File you also get Download, Copy, Move, Share, Update, Delete, and Create From Text.
For spreadsheets, see Read rows with Google Sheets in Duaer. For another cloud drive, see Upload a file with Dropbox in Duaer.
Questions
Does Google Drive Upload in Duaer need a host file path?
No. It uploads binary data on the item, not a path on the host disk.
In this section
Read rows with Google Sheets in Duaer
In Duaer, Google Sheets defaults to Authentication OAuth2, Resource Sheet, and Operation Get Row(s). You need a googleSheetsOAuth2Api credential.
NodesTransfer files with FTP in Duaer
In Duaer, the FTP node Protocol defaults to FTP (SFTP is available). Operation defaults to Download. The file lands on Put Output File in Field (default data).
NodesUpload a file with Dropbox in Duaer
In Duaer, Dropbox defaults to Authentication Access Token, Resource File, and Operation Upload. File Path is required. You need a dropboxApi credential.