by ElevenFifty Labs
Files and SFTP

SFTP integration

Spark reads CSV, JSON and JSON Lines files from your SFTP server and delivers Circuit output to it as CSV, Excel, JSON or Parquet files.

The connector

Category: Files and SFTP. Status: Available on all plans. How Spark connects: direct, with an SFTP user for Spark that signs in with a private key (preferred) or a password. Spark checks the server's host key fingerprint and refuses a server whose key doesn't match.

What you can do with SFTP in Spark

Read files that other systems or partners drop on an SFTP server, check them, and load them into a plan, ERP or warehouse. Deliver Circuit output back to the server as a file: replace keeps 1 file at the name, append adds a new file each run with the time in its name.

Spark reads 1 kind of data from SFTP:

  • Rows of a CSV, JSON or JSON Lines file, or of every such file in a folder (name it ending in /)

What Spark writes to SFTP

Writes only happen when you tick the permission as you add the Spark. Leave them unticked for a read-only connection.

  • Delivers the Circuit's output as a file (CSV, Excel, JSON or Parquet): replace keeps 1 file at the name; append adds a new file each run with the time in its name.

Common use cases for SFTP data, and why each matters

Scheduled exports for systems without an API

Systems that can only export files still feed the plan and the ledger on a schedule, with the same checks as an API source.

Files dropped by partners, loaded on arrival

Files that banks, payroll bureaus or partners drop are checked and loaded when they arrive, so nobody downloads and re-uploads them by hand.

Exports for systems that only take files

Plan or ledger output lands as a CSV, Excel, JSON or Parquet file for systems that import from SFTP.

Why it's hard without Spark

Many systems can only exchange files, and file feeds are where data quality goes to die: a missing header, a changed column order, or a file that never arrives. Spark reads files from SFTP on a schedule, checks every row against rules you set, sets aside rows that fail, and alerts when an expected file is missing.

How Spark handles SFTP data

  • Spark does not store the business data it moves: rows pass through memory during a run.
  • Each customer has its own isolated tenant.
  • Credentials are sealed in your company's own vault, never shown again or logged.
  • Anything that writes to a system needs the permission ticked when the Spark is added.

More on the Spark trust center.

Teams that use it

Data and analytics, IT and security and Finance and FP&A.

Questions

How does Spark connect to SFTP?

With an SFTP user for Spark that can read and write the folder you choose. You need the server's host name and port (usually 22), a private key for that user (preferred) or its password, and the server's host key fingerprint.

Can Spark write to SFTP?

Yes, when you allow it. Spark delivers the Circuit's output as a file (CSV, Excel, JSON or Parquet): replace keeps 1 file at the name; append adds a new file each run with the time in its name.

Which file formats does Spark read and write?

Spark reads CSV, JSON and JSON Lines, and writes CSV, Excel, JSON or Parquet.

Why does Spark ask for a host key fingerprint?

So it knows it is talking to your server. Spark refuses to connect if the key doesn't match.

Where are the credentials kept?

Sealed in your company's own vault in your isolated tenant. Spark never shows them again or writes them to logs.

Connection essentials

  • Method: An SFTP user with a password or key.
  • What you need: The server's host name and port (usually 22); A user for Spark that can read and write the folder you choose; A private key for that user (preferred), or its password; The server's host key fingerprint, so Spark knows it's talking to your server
  • What Spark asks for: Host; Port; User; Folder (optional); Host key fingerprint; Private key (OpenSSH or PEM); Key passphrase (if the key has one); Password

Set it up in 5 steps

  1. On the server, make a user for Spark and give it the folder Spark reads from or writes to.
  2. Preferred: make a key pair with "ssh-keygen -t ed25519 -f spark_sftp -N ''" and add spark_sftp.pub to the user's authorized_keys. Or set a strong password.
  3. Get the host key fingerprint: run "ssh-keyscan -t ed25519 <host> | ssh-keygen -lf -" and copy the part that starts with SHA256:.
  4. In Spark, add an SFTP Spark. Enter the host, port, user, folder and fingerprint, and paste the private key (or the password).
  5. Spark keeps the key in your company's own vault. Delete spark_sftp from your computer afterwards.

Example Circuit: Payroll bureau file into the plan

Each mapping is written in Excel syntax, so finance can read and change it.

  • Pay date: =DATEVALUE([PayDate]), a real date
  • Department: =XLOOKUP([Dept],DeptMap[File],DeptMap[Plan]), the plan department
  • Gross pay: =VALUE([Gross]), a number, not text
  • Employee: =[EmpID], the key column

Checks to set on this feed

  • Fail the run if a file is missing its header row
  • Set aside rows that break a rule instead of loading them
  • Alert if no new file arrives on schedule

How setup works

  1. Start a Spark. Sign in or paste a key. Spark checks the access the key grants and warns before it expires. If someone else owns the system, Spark sends them a setup request with the security context they need.
  2. Build a Circuit with Ask Spark. Describe the feed in plain English. Ask Spark drafts the mapping in Excel syntax and waits for your approval.
  3. Let it run. On a schedule, when a file lands, or when the source changes, with checks before anything is written and alerts by email, Slack, Teams or the Spark mobile app.

Security

Each customer runs in its own isolated tenant with its own encryption key and credential vault. Business data passes through memory during a run and is never stored. Writes to systems of record need their own permission, and ERP journals arrive as drafts by default. See Spark security.

See it with your own systems

Book a 30-minute demo built around the systems you use. Spark starts at $5,000 a year, with every connector on every plan. See pricing, security and the connector library.