SFTP

Connect SFTP in Boomi with Password (Basic) Authentication

  • Chirag Kumar DeoChirag Kumar Deo
  • 09 Oct 2026
Boomi connecting to an SFTP server with a user name and password

File-based integrations are everywhere: banks, payroll providers, logistics partners and older ERPs still exchange CSV and XML files over SFTP. Boomi’s SFTP connector handles both reading (Get) and writing (Send) files.

The simplest way to log in is a user name and password. It is quick to set up and fine for many partners; for stronger security, see SFTP with an SSH key.

It is easy to think of file transfer as the “old” way of integrating and APIs as the modern one. In practice, a large share of the integrations I deliver still start or end with a file on an SFTP server — the Research Fund Collection and Truck Accessory Bill Payment projects both begin with CSV files that become NetSuite transactions, and the GTreasury to NetSuite integration exchanges files with a treasury system. Files are simple, every system can produce them, and partners understand them. The challenge is doing it reliably: knowing the file arrived, reading it exactly once, never picking up half-written files, and noticing when the partner stops sending. This guide covers the connection and then those practical details.

Password login still travels over an encrypted SSH channel.
Password login still travels over an encrypted SSH channel.

What you need from the SFTP owner

  • Host name or IP address.
  • Port, normally 22.
  • User name and password.
  • The folder paths to read from and write to.
  • The host key of the server, so Boomi can verify it is talking to the right machine.

Also ask whether the server only accepts connections from known IP addresses. If it does, give them the outbound IP addresses of your runtime (your own server’s public IP, or the published IP ranges of the Boomi runtime cloud you use).

Questions worth asking up front

Connection details are the easy part. These questions save a lot of back-and-forth later:

  • When are files delivered, and how often? Daily at 06:00, every hour, whenever someone exports? This drives the schedule.
  • How are files named? A predictable pattern such as orders_YYYYMMDD_NNN.csv makes filtering and duplicate detection easy.
  • What happens to files after we read them? May we delete them, should we move them to an archive folder, or does the partner clean up?
  • How do we know a file is complete? Do they upload under a temporary name and rename, or write a marker file?
  • Is there a sample file and a specification? Columns, formats, encoding (UTF-8 or something older), delimiter, header row.
  • Who do we call when files stop arriving? A named contact on the partner side.

The connection

FieldValue
Hostsftp.partner.com
Port22
Authentication typeuser name and password
User / Passwordas provided
Known Host Entrythe server’s host key line (recommended)
SFTP connection with user name and password (illustration).
SFTP connection with user name and password (illustration).

Mark the host, user and password as environment extensions so the test SFTP account is used in your Test environment and the real one in Production — explained in Deploy and maintain Boomi processes.

Known host entry

When Known Host Entry is filled in, Boomi enables strict host key checking and compares the server’s key with the value you provide. Left empty, host verification is skipped. Fill it in for production.

Get the line from a machine that can reach the server:

ssh-keyscan -p 22 sftp.partner.com

Copy the line for the key type the server uses (for example sftp.partner.com ssh-ed25519 AAAA...) into the field. Confirm the fingerprint with the server owner if you can.

Why does this matter if the connection is encrypted anyway? Encryption protects the data in transit, but it doesn’t tell you who is on the other end. Without host key checking, a misconfigured DNS entry or a malicious machine could accept the connection, and Boomi would happily upload your payroll file to it. With the known host entry filled in, the connection fails instead. When a partner legitimately replaces their server, they should tell you — and the host-key error is how you find out if they forgot.

Operations

Get (read files)

  • Remote directory: the folder to read from.
  • File filter: for example *.csv or orders_*.xml.
  • Choose what happens after a successful read: delete the file, or leave it and move or rename it in a later step.
An SFTP Get operation reading CSV files (illustration).
An SFTP Get operation reading CSV files (illustration).

Each file becomes one document in the process, and the file name is available as a document property, which is handy for logging or for routing by name.

Reading each file exactly once

This is the single most important design decision in a file integration. The options, roughly from simplest to most robust:

ApproachProsCons
Delete after readsimple; nothing is read twicethe file is gone if the process fails afterwards
Move to an archive folder at the endaudit trail; failed files can be re-processedneeds write rights; one extra step
Leave in place, track processed namespartner keeps control of the folderyou must store and check the list of processed files

My default is to move the file to an archive folder at the end of the process, only after the records were created successfully, and to an error folder when they weren’t. The partner (or your support team) can then see at a glance what happened to every file, and re-processing is a matter of moving a file back. Because target records are created with upserts on a stable key (see Get started with Boomi), reading a file twice by accident doesn’t create duplicates either.

Splitting files into records

A Get returns whole files. For row-by-row processing, a flat-file profile and a map (or a Data Process shape that splits by line) turn one file into one document per record. Keep the file name on each record as a dynamic document property — how is explained in DPP and DDP in Groovy — so error reports can say “row 14 of bills_0611.csv” rather than just “a record failed”.

Send (write files)

Set the target directory in the operation and the file name with a Set Properties shape before the connector (a connector property for the file name), often built from a date and a reference number, for example invoices_20261013_001.csv.

Tip: Write to a temporary name and rename it when complete, or agree a “done” marker file with the partner, so they never pick up a half-written file.

Before sending, combine documents if the partner expects one file per run rather than one per record — a Combine step in a Data Process shape does this for flat files. Agree the details of the output format (header row, delimiter, line endings, encoding, date formats) in writing; a partner’s import job is usually far less forgiving than Boomi’s parser.

Monitoring a file feed

File integrations have a failure mode APIs don’t: nothing happens. If the partner’s export breaks, no file arrives, the process runs successfully with zero documents, and nobody notices until someone asks where last week’s bills are. Two simple safeguards:

  • Alert on “no file” when one is expected. For a daily feed, a check that raises an alert if no file was processed by a certain time catches silent failures.
  • Report counts. A short summary per run — file name, rows read, records created, rows rejected — makes trends visible and gives the business something to reconcile against.

Common errors

  • Auth fail: wrong user or password, or the account is locked after too many attempts.
  • Connection timed out: firewall or IP allowlist; the runtime cannot reach the host and port.
  • Host key mismatch / reject HostKey: the known host entry does not match the server’s key. Re-check with ssh-keyscan and confirm with the server owner before changing it.
  • No such file / permission denied: wrong directory path or the user lacks rights on that folder.

Note: Passwords on partner SFTP accounts often expire on a schedule. Ask whether this one does, and put the date in your calendar — then update the environment extension, not the process.

Password or key?

Password authentication is fine for many partners, especially for internal servers or low-sensitivity data. Keys are better when the partner requires them, when the data is sensitive (payroll, banking), or when you want credentials that can’t be guessed or phished. Moving from one to the other later only changes the connection — the processes stay the same. The key-based setup is in Connect SFTP with an SSH key, and creating the key pair is in Generate an SSH key with PuTTYgen or Terminal.

Further reading

Building file integrations

File feeds look simple and are easy to get subtly wrong. If you are connecting partners, banks or legacy systems through SFTP, the EDI & B2B file integration service and the Boomi integration consultant page describe how I approach them. Get in touch if you would like help.

Comments 0

No comments yet. Start the discussion.

Leave a comment