...
Delete File or Folder
This activity deletes the specified file or folder from the specified Googledrive account.
Activity Parameters
The Delete File or Folder activity parameters can be provided by manual inserted values or via IN arguments or variables:
All of the input parameters are mandatory.
Parameters:
- File or Folder Path (text box editor type): the full path of the file or folder which you want to be deleted. E.g. Folder/SubFolder/File.extensionFlowsterMSSQLActivities.bak, which meand that the activity will download the file from the Home directory.
The Read Only Output variable are the possible output values that the activity will provide:
- Output: outputs the result status. If the item was deleted successfully then TRUE, otherwise FALSE.
Disconnect From Googledrive
This activity disconnects the specified Googledrive account.
Activity Parameters
The Disconnect from Googledrive activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Connection (text box editor type): the Googledrive connection, obtained after using a Connect to Googledrive activity.
Download File
This activity downloads the specified Googledrive file.
Activity Parameters
The Download File activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Destination Folder Path (text box editor type): the path of the folder where you wish to download the file.
- File Path (text box editor type): the full path of the existing file on the Googledrive account, which you wish to download. E.g. FlowsterMSSQLActivities.bak, which meand that the activity will download the file from the Home directory.
The Read Only Output variable are the possible output values that the activity will provide:
- Output: outputs the result status. If the item was downloaded successfully then TRUE, otherwise FALSE.
- Output Status: outputs the full path.
Execution: the activity will download the file from GoogleDrive into the given location:
List Files and Folders
This activity lists all files and folders from the specified Googledrive account.
Activity Parameters
The List Files and Folders activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Document Type (combo box editor type): the document type which you would like to be listed. Flowster Studio provides Files, Folders and All as options.
- Parent Folder (combo box control): the full path of the folder from where you want to list all the SubItems. If left with the default value "", it will list all the items from the Home directory.
The Read Only Output variable are the possible output values that the activity will provide:
- Output (type: Collection<Collection<String>>): outputs a collection of Document Type items and their properties.To use the elements of the collection, use For Each and/or Get Element From Collection activities.
- Output rows count (type: Int32): outputs the number of files and folders found on the specified OneDrive account.
Execution: the activity will list all items from the account where it is connected to (in our case, both Files and Folders):
Using For Each activities to get the elements from the Type Items collection:
- a first For Each activity to extract a single Collection from the main Collection:
- a second For Each activity to extract the values from the second collection:
Using For Each and Get Element From Collection activities to extract the elements from the Type Items collection:
- a For Each activity to extract a single Collection from the main Collection:
- a Get Element From Collection activity to extract the values from the second collection:
Upload File
This activity uploads a selected file to the specified Googledrive Account.
Activity Parameters
The Upload File activity parameters can be provided by manual inserted values or via IN arguments or variables:
All of the input parameters are mandatory.
Parameters:
- File Path (text box editor type): the full path of the file that you wish to upload. The maximum allowed file size is 300 MB.
- Overwrite (combo box control): choose "Yes" for overwriting the file that already exists, or "No" for recreating it.
- Parent Folder (combo box control): directory on GoogleDrive where you wish to upload the file. If left blank it will upload the file to the home directory.
The Read Only Output variable are the possible output values that the activity will provide:
- Output: outputs the Full path.
- Output status: outputs result status. If the item was uploaded successfully then TRUE, otherwise FALSE.
Execution: the activity uploads the given file at the given GoogleDrive location:
The uploaded file can be seen on Google Drive: