An SFTP connection is a one-time record. Set it up once, and every automation that picks up files from that server can use it without re-entering credentials.
Before you start
Confirm these values with the server owner:
Host and port
Username
Password, private key, or both
The remote folders and file paths automations will read from
Create the connection
From Ask Darpan, open Open SFTP Servers, then choose Create New Server. Darpan asks one question per card:
Field
Notes
Host
The server hostname, for example sftp.example.com.
Port
The SFTP port. Defaults to 22.
Username
The login name on the server.
Remote attributes
Yes or No. Defaults to Yes; change it only when the server owner says the server needs it.
Password
Optional. Leave blank when the server uses a key.
Private key
Optional. Paste the private key when the server uses key authentication.
Label
The name Darpan shows for this server.
Save the record. Darpan gives the server its ID; the ID cannot be edited.Passwords and keys are write-only. On edit, Password (optional) and Private Key (optional) can be left blank to keep the stored values, but only while the host and port stay the same. If you change either, enter the password or key again.
Edit an existing connection
Open Ask Darpan.
Search for the SFTP description, host, or username.
Select the Edit SFTP: … result.
Update the record and save it.
Delete a server
On the server’s edit page, choose Delete SFTP server (the trash button) and confirm. Only the tenant that owns the server can delete it, and not while another tenant still has access to it or while it feeds an audit; the page says which. The server moves to the bin for your tenant’s bin window (14 days unless your tenant set its own), and automations that read it are paused. To bring it back, turn on Show archived on the SFTP servers list and choose Restore. Its automations stay paused until you turn each one back on from its automation page. When the window ends, Darpan deletes the server for good.
Server key
Darpan saves the server’s key the first time it connects, and checks it on every connection after that, so a server that changes identity is not trusted silently. The edit form shows the saved key’s fingerprint under Server key, or Saved on first connection until Darpan has connected once.If the server was replaced or rebuilt on purpose, tick Forget saved key and save. The new key is saved on the next connection. Changing the host or port also clears the saved key.
Validation
SFTP servers have no connection diagnostics button. After saving, create a test automation with SFTP scheduled file pickup that reads a known file from the server, and use Run automation now. If it fails, check the remote path, the password or key, and whether the Darpan deployment can reach the host. Connections troubleshooting covers a changed server key and other SFTP failures.
Private keys, passwords, and customer hostnames belong in secure configuration, not public docs.
Expected result
The connection appears on the SFTP Servers page (Open SFTP Servers) and can be selected in any automation that uses SFTP scheduled file pickup. Runs built in Create Run do not read SFTP.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Darpan","colors":{"primary":"#1C1C1C","light":"#F2F2F2","dark":"#5F5F5F"},"logo":{"light":"https://mintcdn.com/darpan/9iKJCjzyR1JOG8p7/logo/light-app-wordmark-v2.svg?fit=max\u0026auto=format\u0026n=9iKJCjzyR1JOG8p7\u0026q=85\u0026s=940f57983a152232e117c4a7c7fbb95d","dark":"https://mintcdn.com/darpan/9iKJCjzyR1JOG8p7/logo/dark-app-wordmark-v2.svg?fit=max\u0026auto=format\u0026n=9iKJCjzyR1JOG8p7\u0026q=85\u0026s=af2d3d80b5c30b6eca842ce61b298e27"},"favicon":"https://mintcdn.com/darpan/e8GfFCdct3ZStzWp/favicon-b17b6c3.svg?fit=max\u0026auto=format\u0026n=e8GfFCdct3ZStzWp\u0026q=85\u0026s=11c135c65e97a978710668b24ba6e021","navbar":{"links":[{"href":"https://developers.drpn.ai","label":"Developers"},{"href":"https://drpn.ai","label":"Back to website"}],"primary":{"type":"button","label":"Open Darpan","href":"https://app.drpn.ai"}},"seo":{"metatags":{"canonical":"https://docs.drpn.ai"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Darpan UI","icon":"github","href":"https://github.com/drpn-ai/darpan-ui"},{"anchor":"Darpan backend","icon":"github","href":"https://github.com/drpn-ai/darpan"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"darpan","hasAudioNarration":false,"actualSubdomain":"darpan","customDomains":["docs.drpn.ai"],"gitSource":{"type":"github","owner":"drpn-ai","repo":"darpan-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0d8cf2313c97d7e30935dc","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"Product docs","count":42},{"language":"default","tag":"Getting started","count":8},{"language":"default","tag":"Build a run","count":8},{"language":"default","tag":"Admin \u0026 alerts","count":7},{"language":"default","tag":"Reference","count":7},{"language":"default","tag":"Troubleshooting","count":7},{"language":"default","tag":"Set up sources","count":5},{"language":"default","tag":"Roadmap \u0026 releases","count":4},{"language":"default","tag":"Community","count":2},{"language":"default","tag":"Roadmap","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":where(.nav-tabs-item,nav-tabs-item)>div:last-child{border-radius:999px;height:2px!important;left:10%;transition:background-color 160ms ease,\n opacity 160ms ease;width:80%}:where(.nav-tabs-item,nav-tabs-item)[data-active]>div:last-child{background:rgba(28, 28, 28, 0.76)!important}:where(.nav-tabs-item,nav-tabs-item):not([data-active]):hover>div:last-child{background:rgba(28, 28, 28, 0.12)!important}html.dark :where(.nav-tabs-item,nav-tabs-item)[data-active]>div:last-child{background:rgba(255, 255, 255, 0.78)!important}html.dark :where(.nav-tabs-item,nav-tabs-item):not([data-active]):hover>div:last-child{background:rgba(255, 255, 255, 0.16)!important}:where(.nav-anchor,nav-anchor){border-radius:14px!important;transition:background-color 160ms ease,\n box-shadow 160ms ease,\n color 160ms ease}:where(.nav-anchor,nav-anchor):is(:hover,:focus-visible,:focus-within){background:rgba(28, 28, 28, 0.045)!important;box-shadow:inset 0 0 0 1px rgba(28, 28, 28, 0.06)}:where(.nav-anchor,nav-anchor):is(:hover,:focus-within) :where(a,button){background:transparent!important}html.dark :where(.nav-anchor,nav-anchor):is(:hover,:focus-visible,:focus-within){background:rgba(255, 255, 255, 0.06)!important;box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.08)}.rm-card{border:1px solid rgba(28, 28, 28, 0.12);border-radius:10px;padding:0.85rem 1rem;margin:0.6rem 0}.rm-card p,.rm-step p{margin:0.15rem 0}.rm-pill,.rm-pill-next,.rm-pill-surface{border-radius:999px;font-size:0.7rem;padding:0.1rem 0.55rem;margin-left:0.4rem;vertical-align:0.1rem;white-space:nowrap}.rm-pill{background:rgba(30, 124, 60, 0.12);color:#1e7c3c}.rm-pill-next{background:rgba(59, 79, 216, 0.1);color:#3b4fd8}.rm-pill-surface{background:rgba(28, 28, 28, 0.06);color:#5f5f5f}.rm-muted{color:#6b6b6b;font-size:0.9rem}.rm-timeline{border-left:2px solid rgba(28, 28, 28, 0.12);margin-left:11px}.rm-step{display:flex;gap:14px;padding-bottom:1.1rem}.rm-step-marker{width:22px;height:22px;border-radius:50%;background:#1c1c1c;color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center;margin-left:-12px;flex-shrink:0}html.dark .rm-card{border-color:rgba(255, 255, 255, 0.14)}html.dark .rm-pill{background:rgba(70, 190, 110, 0.16);color:#6fd394}html.dark .rm-pill-next{background:rgba(120, 140, 255, 0.16);color:#9dabff}html.dark .rm-pill-surface{background:rgba(255, 255, 255, 0.08);color:#b5b5b5}html.dark .rm-muted{color:#9a9a9a}html.dark .rm-timeline{border-left-color:rgba(255, 255, 255, 0.14)}html.dark .rm-step-marker{background:#f2f2f2;color:#1c1c1c}.ff-fallback,.ff-notice{color:#6b6b6b;font-size:0.9rem}.ff-error{color:#c0392b;font-size:0.85rem;margin:0.4rem 0}.ff-submit{border:1px solid rgba(28, 28, 28, 0.12);border-radius:10px;padding:0.85rem 1rem;margin:1rem 0 1.4rem;background:rgba(28, 28, 28, 0.02)}.ff-input,.ff-textarea{width:100%;box-sizing:border-box;border:1px solid rgba(28, 28, 28, 0.16);border-radius:6px;padding:0.5rem 0.65rem;font-size:0.9rem;font-family:inherit;background:#fff;color:#1c1c1c;margin-bottom:0.5rem}.ff-textarea{resize:vertical;min-height:3.2rem}.ff-actions{display:flex;justify-content:space-between;align-items:center}.ff-button{background:#1c1c1c;color:#fff;border:none;border-radius:6px;padding:0.45rem 1rem;font-size:0.8rem;cursor:pointer}.ff-button:disabled{opacity:0.5;cursor:default}.ff-toolbar{display:flex;justify-content:space-between;align-items:center;font-size:0.8rem;color:#6b6b6b;margin-bottom:0.6rem}.ff-sort{background:none;border:none;color:#6b6b6b;cursor:pointer;font-size:0.8rem;padding:0 0.2rem}.ff-sort-active{color:#1c1c1c;font-weight:600}.ff-list{border:1px solid rgba(28, 28, 28, 0.12);border-radius:10px;overflow:hidden}.ff-row{display:flex;gap:14px;padding:0.8rem 1rem;align-items:center}.ff-row+.ff-row{border-top:1px solid rgba(28, 28, 28, 0.07)}.ff-votebox{display:flex;flex-direction:column;align-items:flex-start;flex-shrink:0;width:48px}.ff-voterow{display:flex;align-items:center;gap:3px}.ff-count{font-size:0.85rem;font-weight:400}.ff-arrow{background:none;border:none;color:#b5b5b5;cursor:pointer;font-size:0.85rem;line-height:1;padding:0.1rem}.ff-arrow-active{color:#1e7c3c}.ff-arrow-active.ff-down{color:#c0392b}.ff-title{font-size:0.9rem;font-weight:600;margin:0}.ff-detail{font-size:0.8rem;color:#8a8a8a;margin:0.1rem 0 0}.ff-chip{font-size:0.7rem;border-radius:999px;padding:0.15rem 0.6rem;flex-shrink:0;background:rgba(28, 28, 28, 0.06);color:#5f5f5f;white-space:nowrap}.ff-chip-planned{background:rgba(59, 79, 216, 0.1);color:#3b4fd8}.ff-chip-in_progress{background:rgba(160, 95, 0, 0.1);color:#a05f00}.ff-chip-shipped{background:rgba(30, 124, 60, 0.12);color:#1e7c3c}html.dark .ff-submit{border-color:rgba(255, 255, 255, 0.14);background:rgba(255, 255, 255, 0.03)}html.dark .ff-input,html.dark .ff-textarea{background:#1c1c1c;color:#f2f2f2;border-color:rgba(255, 255, 255, 0.18)}html.dark .ff-button{background:#f2f2f2;color:#1c1c1c}html.dark .ff-list{border-color:rgba(255, 255, 255, 0.14)}html.dark .ff-row+.ff-row{border-top-color:rgba(255, 255, 255, 0.08)}html.dark .ff-sort-active{color:#f2f2f2}html.dark .ff-chip{background:rgba(255, 255, 255, 0.08);color:#b5b5b5}html.dark .ff-chip-planned{background:rgba(120, 140, 250, 0.16);color:#9aabf9}html.dark .ff-chip-in_progress{background:rgba(220, 150, 40, 0.16);color:#e0ae62}html.dark .ff-chip-shipped{background:rgba(70, 190, 110, 0.16);color:#6fd394}.ff-meta{font-size:0.75rem;color:#9a9a9a;margin:0.15rem 0 0}.ff-arrow:disabled{opacity:0.35;cursor:default}.ff-chip-awaiting{background:rgba(124, 58, 237, 0.1);color:#7c3aed}.ff-thread{padding:0.4rem 1rem 0.9rem 4rem;border-top:1px dashed rgba(28, 28, 28, 0.08)}.ff-comment{margin:0.55rem 0}.ff-cauthor{font-size:0.78rem;font-weight:600;margin:0}.ff-ctime{color:#9a9a9a;font-weight:400}.ff-ctext{font-size:0.85rem;margin:0.1rem 0 0;white-space:pre-wrap}.ff-composer{margin-top:0.7rem}html.dark .ff-thread{border-top-color:rgba(255, 255, 255, 0.1)}html.dark .ff-meta{color:#8a8a8a}html.dark .ff-chip-awaiting{background:rgba(155, 120, 245, 0.16);color:#b9a5f7}.ff-warn{font-size:0.72rem;line-height:1.45;color:#9a7b45;margin:0 0 0.5rem}.ff-link{font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.72rem;color:#8a8a8a;margin:0.15rem 0 0;overflow-wrap:anywhere}.ff-affectbox{width:82px}.ff-affect{background:none;border:1px solid rgba(28, 28, 28, 0.16);border-radius:999px;color:#6b6b6b;cursor:pointer;font-family:inherit;font-size:0.7rem;padding:0.15rem 0.5rem;white-space:nowrap}.ff-affect-active{border-color:#1e7c3c;color:#1e7c3c}.ff-affect:disabled{opacity:0.4;cursor:default}.ff-affectbox .ff-count{display:block;margin-top:0.2rem;padding-left:0.15rem}.ff-expand{padding:0.2rem 1rem 0 4rem}.ff-shots{display:flex;gap:8px;overflow-x:auto;padding:0.5rem 0 0.2rem}.ff-shot{flex-shrink:0;border:1px solid rgba(28, 28, 28, 0.12);border-radius:6px;overflow:hidden;line-height:0}.ff-shot img{height:108px;width:auto;max-width:260px;object-fit:cover}.ff-shot-pick{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:0.5rem}.ff-shot-thumb{position:relative;line-height:0}.ff-shot-thumb img{height:52px;width:auto;max-width:110px;object-fit:cover;border:1px solid rgba(28, 28, 28, 0.12);border-radius:6px}.ff-shot-drop{position:absolute;top:-6px;right:-6px;width:17px;height:17px;border:none;border-radius:50%;background:#1c1c1c;color:#fff;font-size:0.7rem;line-height:1;cursor:pointer;padding:0}.ff-shot-add{border:1px dashed rgba(28, 28, 28, 0.24);border-radius:6px;color:#6b6b6b;cursor:pointer;font-size:0.75rem;padding:0.35rem 0.7rem}.ff-shot-add input{display:none}.ff-chip-confirmed{background:rgba(160, 95, 0, 0.1);color:#a05f00}.ff-chip-fixed{background:rgba(30, 124, 60, 0.12);color:#1e7c3c}html.dark .ff-warn{color:#c8a468}html.dark .ff-link{color:#8a8a8a}html.dark .ff-affect{border-color:rgba(255, 255, 255, 0.2);color:#b5b5b5}html.dark .ff-affect-active{border-color:#6fd394;color:#6fd394}html.dark .ff-shot,html.dark .ff-shot-thumb img{border-color:rgba(255, 255, 255, 0.14)}html.dark .ff-shot-drop{background:#f2f2f2;color:#1c1c1c}html.dark .ff-shot-add{border-color:rgba(255, 255, 255, 0.24);color:#b5b5b5}html.dark .ff-chip-confirmed{background:rgba(220, 150, 40, 0.16);color:#e0ae62}html.dark .ff-chip-fixed{background:rgba(70, 190, 110, 0.16);color:#6fd394}"}]}
{"page":{"pagePath":"guides/connect-sftp","slug":"/guides/connect-sftp","pageMetadata":{"title":"Connect SFTP","description":"Create or maintain an SFTP connection record.","href":"/guides/connect-sftp"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create or maintain an SFTP connection record.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`An SFTP connection is a one-time record. Set it up once, and every automation that picks up files from that server can use it without re-entering credentials.`}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsx(_components.p,{children:`Confirm these values with the server owner:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Host and port`}),`\n`,_jsx(_components.li,{children:`Username`}),`\n`,_jsx(_components.li,{children:`Password, private key, or both`}),`\n`,_jsx(_components.li,{children:`The remote folders and file paths automations will read from`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-the-connection`,children:`Create the connection`}),`\n`,_jsxs(_components.p,{children:[`From `,_jsx(_components.strong,{children:`Ask Darpan`}),`, open `,_jsx(_components.strong,{children:`Open SFTP Servers`}),`, then choose `,_jsx(_components.strong,{children:`Create New Server`}),`. Darpan asks one question per card:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Host`}),_jsxs(_components.td,{children:[`The server hostname, for example `,_jsx(_components.code,{children:`sftp.example.com`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Port`}),_jsxs(_components.td,{children:[`The SFTP port. Defaults to `,_jsx(_components.code,{children:`22`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Username`}),_jsx(_components.td,{children:`The login name on the server.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Remote attributes`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Yes`}),` or `,_jsx(_components.strong,{children:`No`}),`. Defaults to `,_jsx(_components.strong,{children:`Yes`}),`; change it only when the server owner says the server needs it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Password`}),_jsx(_components.td,{children:`Optional. Leave blank when the server uses a key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Private key`}),_jsx(_components.td,{children:`Optional. Paste the private key when the server uses key authentication.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Label`}),_jsx(_components.td,{children:`The name Darpan shows for this server.`})]})]})]}),`\n`,_jsx(_components.p,{children:`Save the record. Darpan gives the server its ID; the ID cannot be edited.`}),`\n`,_jsxs(_components.p,{children:[`Passwords and keys are write-only. On edit, `,_jsx(_components.strong,{children:`Password (optional)`}),` and `,_jsx(_components.strong,{children:`Private Key (optional)`}),` can be left blank to keep the stored values, but only while the host and port stay the same. If you change either, enter the password or key again.`]}),`\n`,_jsx(Heading,{level:`2`,id:`edit-an-existing-connection`,children:`Edit an existing connection`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Ask Darpan`}),`.`]}),`\n`,_jsx(_components.li,{children:`Search for the SFTP description, host, or username.`}),`\n`,_jsxs(_components.li,{children:[`Select the `,_jsx(_components.strong,{children:`Edit SFTP: …`}),` result.`]}),`\n`,_jsx(_components.li,{children:`Update the record and save it.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`delete-a-server`,children:`Delete a server`}),`\n`,_jsxs(_components.p,{children:[`On the server’s edit page, choose `,_jsx(_components.strong,{children:`Delete SFTP server`}),` (the trash button) and confirm. Only the tenant that owns the server can delete it, and not while another tenant still has access to it or while it feeds an audit; the page says which. The server moves to the bin for your tenant’s bin window (14 days unless your tenant set its own), and automations that read it are paused. To bring it back, turn on `,_jsx(_components.strong,{children:`Show archived`}),` on the SFTP servers list and choose `,_jsx(_components.strong,{children:`Restore`}),`. Its automations stay paused until you turn each one back on from its automation page. When the window ends, Darpan deletes the server for good.`]}),`\n`,_jsx(Heading,{level:`2`,id:`server-key`,children:`Server key`}),`\n`,_jsxs(_components.p,{children:[`Darpan saves the server’s key the first time it connects, and checks it on every connection after that, so a server that changes identity is not trusted silently. The edit form shows the saved key’s fingerprint under `,_jsx(_components.strong,{children:`Server key`}),`, or `,_jsx(_components.strong,{children:`Saved on first connection`}),` until Darpan has connected once.`]}),`\n`,_jsxs(_components.p,{children:[`If the server was replaced or rebuilt on purpose, tick `,_jsx(_components.strong,{children:`Forget saved key`}),` and save. The new key is saved on the next connection. Changing the host or port also clears the saved key.`]}),`\n`,_jsx(Heading,{level:`2`,id:`validation`,children:`Validation`}),`\n`,_jsxs(_components.p,{children:[`SFTP servers have no connection diagnostics button. After saving, create a test automation with `,_jsx(_components.strong,{children:`SFTP scheduled file pickup`}),` that reads a known file from the server, and use `,_jsx(_components.strong,{children:`Run automation now`}),`. If it fails, check the remote path, the password or key, and whether the Darpan deployment can reach the host. `,_jsx(_components.a,{href:`/troubleshooting/connections#sftp`,children:`Connections troubleshooting`}),` covers a changed server key and other SFTP failures.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Private keys, passwords, and customer hostnames belong in secure configuration, not public docs.`})}),`\n`,_jsx(Heading,{level:`2`,id:`expected-result`,children:`Expected result`}),`\n`,_jsxs(_components.p,{children:[`The connection appears on the `,_jsx(_components.strong,{children:`SFTP Servers`}),` page (`,_jsx(_components.strong,{children:`Open SFTP Servers`}),`) and can be selected in any automation that uses `,_jsx(_components.strong,{children:`SFTP scheduled file pickup`}),`. Runs built in `,_jsx(_components.strong,{children:`Create Run`}),` do not read SFTP.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-step`,children:`Next step`}),`\n`,_jsxs(_components.p,{children:[`Use the connection in `,_jsx(_components.a,{href:`/guides/setup-automation`,children:`Set up an automation`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Connect SFTP","description":"Create or maintain an SFTP connection record.","href":"/guides/connect-sftp"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Create the connection","slug":"create-the-connection","depth":2,"children":[]},{"title":"Edit an existing connection","slug":"edit-an-existing-connection","depth":2,"children":[]},{"title":"Delete a server","slug":"delete-a-server","depth":2,"children":[]},{"title":"Server key","slug":"server-key","depth":2,"children":[]},{"title":"Validation","slug":"validation","depth":2,"children":[]},{"title":"Expected result","slug":"expected-result","depth":2,"children":[]},{"title":"Next step","slug":"next-step","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/darpan/91161a9fe878aed7/forum.js"],"subdomain":"darpan","siteName":"Darpan","title":"Connect SFTP - Darpan","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T05:20:49.513Z","originalFileLocation":"guides/connect-sftp.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create or maintain an SFTP connection record.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Darpan\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect SFTP - Darpan\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create or maintain an SFTP connection record.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Darpan\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.drpn.ai/guides/connect-sftp\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://darpan.mintlify.site/_mintlify/api/og/v2?division=Set+up+sources\u0026amp;title=Connect+SFTP\u0026amp;description=Create+or+maintain+an+SFTP+connection+record.\u0026amp;theme=3e22d18a25404ee8566bba11\u0026amp;signature=57c7224a5cd237abfa46d700a176d00b1b72013b408357075d3230712289fceb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Connect SFTP - Darpan\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create or maintain an SFTP connection record.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://darpan.mintlify.site/_mintlify/api/og/v2?division=Set+up+sources\u0026amp;title=Connect+SFTP\u0026amp;description=Create+or+maintain+an+SFTP+connection+record.\u0026amp;theme=3e22d18a25404ee8566bba11\u0026amp;signature=57c7224a5cd237abfa46d700a176d00b1b72013b408357075d3230712289fceb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/darpan/6AgSF_spC7gUg1X4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Darpan\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1C1C1C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.drpn.ai/guides/connect-sftp\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/connect-sftp.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.drpn.ai/#organization\",\"name\":\"Darpan\",\"url\":\"https://docs.drpn.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/darpan/9iKJCjzyR1JOG8p7/logo/light-app-wordmark-v2.svg?fit=max\u0026auto=format\u0026n=9iKJCjzyR1JOG8p7\u0026q=85\u0026s=940f57983a152232e117c4a7c7fbb95d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.drpn.ai#website\",\"name\":\"Darpan\",\"url\":\"https://docs.drpn.ai\",\"publisher\":{\"@id\":\"https://docs.drpn.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.drpn.ai/guides/connect-sftp#webpage\",\"url\":\"https://docs.drpn.ai/guides/connect-sftp\",\"name\":\"Connect SFTP\",\"description\":\"Create or maintain an SFTP connection record.\",\"dateModified\":\"2026-11-30T05:20:49.513Z\",\"isPartOf\":{\"@id\":\"https://docs.drpn.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.drpn.ai/guides/connect-sftp#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.drpn.ai/guides/connect-sftp#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Darpan\",\"item\":\"https://docs.drpn.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect SFTP\",\"item\":\"https://docs.drpn.ai/guides/connect-sftp\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.drpn.ai/guides/connect-sftp#article\",\"headline\":\"Connect SFTP\",\"name\":\"Connect SFTP\",\"description\":\"Create or maintain an SFTP connection record.\",\"url\":\"https://docs.drpn.ai/guides/connect-sftp\",\"mainEntityOfPage\":{\"@id\":\"https://docs.drpn.ai/guides/connect-sftp#webpage\"},\"dateModified\":\"2026-11-30T05:20:49.513Z\",\"publisher\":{\"@id\":\"https://docs.drpn.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.drpn.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Darpan\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Darpan\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/connect-sftp.md","siteName":"Darpan","nav":{"global":{"anchors":[{"anchor":"Darpan UI","icon":"github","href":"https://github.com/drpn-ai/darpan-ui"},{"anchor":"Darpan backend","icon":"github","href":"https://github.com/drpn-ai/darpan"}]},"tabs":[{"tab":"Product docs","groups":[{"group":"Getting started","pages":[{"title":"Darpan documentation","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Product overview","href":"/getting-started/overview"},{"title":"Core concepts","href":"/getting-started/core-concepts"},{"title":"Ask Darpan navigation","href":"/getting-started/ask-darpan-navigation"},{"title":"Tenant Admin quickstart","href":"/getting-started/tenant-admin-quickstart"},{"title":"Two-factor sign-in","href":"/guides/two-factor"},{"title":"Set up the Darpan CLI","description":"Turn on the CLI for your tenant, install it, sign in, and use it from your terminal or Claude Code.","href":"/getting-started/set-up-darpan-cli"}]},{"group":"Set up sources","pages":[{"title":"Connect SFTP","href":"/guides/connect-sftp"},{"title":"Connect a database source","description":"Reconcile straight from MySQL, PostgreSQL or IBM Db2 with a saved connection and a SELECT that returns the records to compare.","href":"/guides/connect-database"},{"title":"Connect NetSuite","href":"/guides/connect-netsuite"},{"title":"Set up Shopify","href":"/guides/setup-shopify"},{"title":"Set up HotWax","href":"/guides/setup-hotwax"}]},{"group":"Build a run","pages":[{"title":"Create a schema","href":"/guides/create-schema"},{"title":"Set up a reconciliation run","href":"/guides/setup-reconciliation-run"},{"title":"Author reconciliation rules","href":"/guides/author-rules"},{"title":"Run reconciliation","href":"/guides/run-reconciliation"},{"title":"Review results","href":"/guides/review-results"},{"title":"Reconcile returns and exchanges","href":"/guides/returns-and-exchanges"},{"title":"Lifecycle runs","href":"/guides/lifecycle-runs"},{"title":"Audits","href":"/guides/audits"}]},{"group":"Admin \u0026 alerts","pages":[{"title":"Manage tenant settings","href":"/guides/manage-tenant-settings"},{"title":"Manage users and access","href":"/guides/manage-users-and-access"},{"title":"Set up an automation","href":"/guides/setup-automation"},{"title":"Peak periods and sync pulse","href":"/guides/peak-periods-and-sync-pulse"},{"title":"Queries","href":"/guides/queries"},{"title":"Run-completion alerts","href":"/guides/run-completion-alerts"},{"title":"AI provider settings","href":"/guides/configure-ai"}]},{"group":"Reference","pages":[{"title":"File formats","href":"/reference/file-formats"},{"title":"Schema model","href":"/reference/schema-model"},{"title":"Composite matching keys","href":"/reference/composite-matching-keys"},{"title":"Reconciliation runs","href":"/reference/reconciliation-runs"},{"title":"Queries","href":"/reference/queries"},{"title":"Glossary","href":"/reference/glossary"},{"title":"Auth and access","href":"/reference/auth-and-access"}]},{"group":"Troubleshooting","pages":[{"title":"Login and session","href":"/troubleshooting/login-and-session"},{"title":"File upload","href":"/troubleshooting/file-upload"},{"title":"Connections","href":"/troubleshooting/connections"},{"title":"Reconciliation runs","href":"/troubleshooting/reconciliation-runs"},{"title":"Audits and findings","href":"/troubleshooting/audits"},{"title":"Automations and alerts","href":"/troubleshooting/automations-and-alerts"},{"title":"Queries","href":"/troubleshooting/queries"}]}]},{"tab":"Roadmap \u0026 releases","pages":[{"title":"Roadmap \u0026 releases","href":"/releases/roadmap"}]}]},"basePath":"","title":"Connect SFTP - Darpan","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":[],"chunks":[]}