Integrating with Drivetrain's SFTP
Use this page when you push files to an SFTP server that Drivetrain hosts. If Drivetrain should instead pull files from your own SFTP server, see Integrating with SFTP.
Get your SFTP details
Each workspace gets its own SFTP user and folder. You get the details in one of two ways:
In Drivetrain, if your connector offers an SFTP option: choose SFTP, pick Password or SSH Key under Select authentication method, and click View details. For SSH Key, choose Create for me or Enter my own key (your public key).
From your Drivetrain team, who share the same details with you.
SFTP directory details shows:
Host name
sftp.drivetrain.ai for password login, sftp1.drivetrain.ai for SSH key login. Use the host shown to you.
Port
22
Username
dtuserXXX, where XXX is your workspace's number
Destination path
The folder for your connector, for example /sftp-XXX/<connector name>
Password or SSH key
Shown once. Copy and store it securely: Drivetrain won't show it again.
To see the details again later (without the password or key), select SFTP details in the connection's menu on the Data page, if your workspace has it, or ask your Drivetrain team.
Upload files
Upload to the Destination path.
Supported formats: CSV, Excel (XLSX, XLS), JSON, Parquet, and ZIP archives.
File names: either overwrite one file each time (for example,
orders.csv) or add a dated file each time (for example,orders_YYYYMMDD.csv).
When the files are added as data in Drivetrain (by you, if your workspace shows these options, or by your Drivetrain team), pick the option that matches your naming:
Bring selected files — for a file you overwrite each time. New files with other names are ignored.
Bring latest files — for dated files: Drivetrain loads the newest one.
Bring union of files — for dated files you want combined into one table.
Each sync reloads the files in full.
Last updated
Was this helpful?