Contents
Flat File and SFTP Design Document
Updated
by Andrew Dotto
DRS Cloud exchanges data files with your systems over SFTP (SSH File Transfer Protocol). You deposit inbound files (e.g. jobs, updates) into a drop folder, and DRS Cloud collects and processes them automatically. DRS Cloud writes any outbound files (e.g. exports) into a separate folder for you to collect.
Key Things to Know
- A dedicated, isolated SFTP account is provisioned for you. You can only see your own folders (your session is locked to your own directory — a "chroot jail").
- Authentication is SSH key-based (no passwords).
- All transfers are encrypted in transit by SSH.
- You connect to us. DRS Cloud never initiates a connection into your network.
How it works (data flow)

- You upload a file into your incoming folder.
- DRS Cloud polls your incoming folder (roughly every 30 seconds) and picks up new files.
- Each file is processed. On success it is moved to processed ; on failure it is moved to errors (the original is preserved so nothing is lost).
- DRS Cloud writes any outbound/export files into your outgoing folder for you to collect.
Both your client and the DRS Inbound Connector connect to the same DRS-hosted SFTP endpoint — it is the shared, secure exchange point. You do not need to host anything.
Connection details
Setting | Value |
Protocol | SFTP (SSH File Transfer Protocol) — not FTP or FTPS |
Host | cmsenviro.westeurope.cloudapp.azure.com |
Host IP (current) | 20.224.205.156 — please confirm with DRS before hard-coding; see §4 |
Port | 22 (TCP) |
Username | Provided to you separately (one unique account per integration) |
Authentication | SSH key pair |
Host Key (Verify On First Connect) | To be provided. |
On your first connection, your SFTP client will show the server's host key fingerprint. Confirm it matches the value above before trusting it. This protects against man-in-the-middle attacks.
Network & firewall requirements
This is the section to action with your network team.
Connection direction
Your systems connect outbound to DRS Cloud. DRS Cloud does not connect into your network.
Therefore:
✅ You need an outbound firewall rule (egress).
❌ You do not need to open any inbound ports to us. No inbound changes are required on your side.
Your firewall — allow outbound
Direction | Port | Destination |
Outbound | TCP 22 | cmsenviro.westeurope.cloudapp.azure.com (20.224.205.156) |
Permit outbound traffic from the host(s) that will run the SFTP client:
If your egress firewall filters by IP rather than hostname, allow the IP above. Please confirm the current IP with OneAdvanced before pinning it, as the hosted endpoint's address can change; where possible, allow by hostname.
DRS firewall — we allowlist your source IP
The DRS SFTP endpoint only accepts connections from explicitly approved source IP addresses. Connections from any other address are silently dropped.
You must provide us with the public egress IP address(es) your traffic will originate from, so we can add them to our allowlist. Please tell us:
The static public IP address (or CIDR range) your SFTP client will egress from.
If you have multiple egress points (e.g. a NAT gateway pool, HA firewall pair, or several sites), all of them — any IP not on the list cannot connect.
A ticket/change reference if you want it recorded against the allowlist entry.
⚠ If your egress IP changes, you must notify DRS so we can update the allowlist, otherwise connections will start timing out. We recommend a stable/static egress IP for this integration.
Quick connectivity test
Once both sides are configured, from a host on your network:
Should connect and present the host key (then you'll authenticate with your key):
sftp -P 22 <your-username>@cmsenviro.westeurope.cloudapp.azure.com
Or a plain TCP reachability check:
nc -vz cmsenviro.westeurope.cloudapp.azure.com 22
Authentication & security
SSH key pair.
OneAdvanced will generate a key pair and securely supply you the private key. The private key never travels over the network or email in clear; handle it as a secret.
Load the private key in your SFTP client (e.g. FileZilla → Logon Type: Key file). Tip: configure your client to present only this key, otherwise some servers reject the session for "too many authentication failures" if several keys are offered first.
Isolation: your account is locked to its own directory tree; you cannot see or reach other customers' data.
Encryption: all data is encrypted in transit via SSH.
Folder structure
Your account is chrooted, so you see these folders at the root of your session
Directory | Direction | Purpose |
/files/incoming | You -> DRS | Deposit inbound files here. DRS polls and removes them as they are processed. |
/files/outgoing | DRS -> You | Collect outbound/export files DRS produces here. |
/files/processed | (internal) | Successfully processed inbound files are moved here for audit. |
/files/errors | (internal) | Inbound files that failed processing are moved here (originals preserved). |
These folders are created automatically for your account.
File processing behaviour
- Polling cadence: new files in incoming are detected within ~30 seconds.
- Atomic uploads: please upload to a temporary name and rename to the final name once complete (or use your client's atomic upload option) so DRS never picks up a half-written file.
- Success: the file is moved to processed.
- Failure: the file is moved to errors ; nothing is deleted, so files can be inspected and resubmitted.
- Outbound: export files appear in outgoing ; please collect (and remove, if agreed) on your schedule.
- File format / naming conventions: as agreed for your integration (provided separately).
Onboarding checklist
What DRS needs from you:
[ ] Your static public egress IP address(es) / CIDR (for the allowlist).
[ ] A technical contact for connectivity testing.
What DRS provides to you:
[ ] Your unique SFTP username.
[ ] The private key, delivered securely.
[ ] The host, port, and host-key fingerprint (§3).
[ ] Confirmation once your IP is allowlisted and the account is live.
What you configure:
Who | Change | Why |
You | Allow outbound TCP/22 to cmsenviro.westeurope.cloudapp.azure.com | Your client connects to the DRS SFTP endpoint |
You | Provide your static egress public IP(s) to DRS | So DRS can allow you through it's inbound allowlist |
DRS | Add your IP(s) to the SFTP endpoint allowlist | Endpoint rejects all non-allowlisted sources |
You | (nothing inbound) | DRS never connects into your network |