Deploy a transfer
Weik.io 2026.2Deploy a transfer with weikio deploy and watch its first run. Product page · Video
Watch: Deploy it, and see a file move, 3:33
The video deploys the transfer to devtest and watches a file move.
This part of the video couldn't be loaded.
Deploy the transfer to devtest the same way you deploy any integration:
$ weikio deploy finance/supplier-invoices --env devtestThe deploy fails before anything starts when no agent serves devtest, or when a secret the two remotes need has no value there. To set a missing secret, run the command in the error message.
Watch the first run#
The transfer runs on its schedule. To see a run now, start one from the CLI, or with Run now on the deployment’s menu in the admin UI:
$ weikio invoke finance/supplier-invoices --env devtest --endpoint direct:mft-runThe command returns before the run ends. If a run is already in progress, the new one starts after it ends.
Follow the log lines as the files move:
$ weikio logs finance/supplier-invoices --env devtest -fEach file’s line appears while the run is still going and has Copied or Moved in its msg field. The run ends with a line of rclone’s stats. Runs and transferred files explains the fields of each line.
What the agent sets up#
On every start, Weik.io sends the agent the two remotes with their secrets filled in. The agent writes them into one rclone.conf for that deployment. Only the agent’s user can read that file. Options that rclone treats as passwords, such as pass, are in rclone’s obscured form:
[supplier-ftp]
type = ftp
host = ftp.supplier.example
user = weikio
pass = YWJjZGVmZ2hpamtsbW5vcHFy
[invoice-archive]
type = azureblob
account = financearchive
key = SGVsbG8gdGhlcmUsIG5vdCBhIHJlYWwga2V5At five o’clock the transfer runs the equivalent of this command:
rclone --config runs/<deployment>/rclone.conf \
--use-json-log -v --log-file runs/<deployment>/rclone.json \
move supplier-ftp:/outgoing invoice-archive:invoices/incoming --filter "+ *.pdf" --filter "- **"rclone writes its JSON log into the run folder. Each file’s line reaches Weik.io from there as an OpenTelemetry log record.
Where it runs#
Like any integration, a transfer runs on every agent whose capabilities match the transfer’s environment and project, and its requirements if it has any. A transfer that moves files from a folder at your plant needs an agent there, so give it a requirement such as requirements: { site: factory }.
When two agents match, the transfer still runs once, as One transfer, two agents explains.
weikio status finance/supplier-invoices shows where the transfer runs. In the admin UI, open the transfer under Integrations › Transfers to see its runs and their files, as Runs and transferred files explains.