# Send 10 files in parallel ls /data/to_send/*.dat | xargs -P 10 -I {} fta-cli --put {} --target /remote/
The fta-cli tool allows you to trigger transfers from bash, PowerShell, or Python.
default_args = 'retries': 3 with DAG('fc_transfer_dag', start_date=datetime(2024,1,1), schedule='0 2 * * *', default_args=default_args) as dag: transfer = BashOperator( task_id='send_to_fc', bash_command='fta-cli --server fc.prod.com --put /daily/report.csv --target /archive/' ) filecatalyst workload automation
import requests import time
Create XML task to run fta-cli with arguments. # Send 10 files in parallel ls /data/to_send/*
success = run_fta(f, "/incoming/", "fc-server.company.com", "auto", "secret")
For example, an insurance company could set a trigger to automatically encrypt a claim file the moment it hits a directory, then immediately forward it to the processing department. 3. Dynamic Transfer Capabilities schedule='0 2 * * *'
The FileCatalyst ecosystem provides several specialized tools that form the backbone of a workload automation environment: Benefits of Fast File Transfer Automation | FileCatalyst