Prerequisite
1. Cloud to Remote (File Upload)
{"task_name": "file_task","task_details": {"source": {"cloud": {"path": "<QNTRL FILE MODULE PATH>","type": "qntrl_files"}},"destination": {"remote": {"path": "<REMOTE FILE PATH>","credential_name": "<CREDENTIAL_NAME>","host": "localhost"}}}}
2. Remote to Cloud (File Download)
{"task_name": "file_task","action": "<move/copy>","subfolder_copy": <true/false>,"task_details": {"source": {"remote": {"path": "<REMOTE FILE MODULE PATH>","credential_name": "<CREDENTIAL_NAME>","host": "localhost"}},"destination": {"cloud": {"path": "<QNTRL FILE MODULE PATH>","type": "qntrl_files","overwrite": true}}}}
{"task_name": "file_task","action": "<move/copy>","subfolder_copy": <true/false>,"task_details": {"source": {"remote": {"path": "<REMOTE FILE MODULE PATH>","credential_name": "<CREDENTIAL_NAME>","host": "<HOST NAME>"}},"destination": {"remote": {"path": "<REMOTE FILE MODULE PATH>","type": "<CREDENTIAL_NAME>","host": "<HOST NAME>"}}}}
Key | Description |
task_name | A system-defined name for the respective modules. 'file_task' is the task name for file management tasks. |
action | Specifies the type of file operation to be carried out.
|
subfolder_copy (optional) | Specifies whether a recursive transfer should be executed or not.
By default, it is set to 'true' if not specified. |
task_details | A JSON object that contains details of the task. |
destination | A JSON object with the information on the location to where the file has to be transferred. |
source | A JSON object with the location details from where the file has to be transferred. |
remote | A JSON object that contains details of the remote machine to be connected. |
cloud | Refers to the cloud network/storage. |
path | Location of the file in the remote machine. |
credential_name | Name of the credential object created within the Credential module for the remote machine. |
host | Host name of the remote machine. |
type | 'qntrl_files' if the file is available in Qntrl's file module. |
overwrite | To update an existing file content.
|
For Windows machines, the file path should be "\\"
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.