SFTP step
reference brazil Updated Sep 10, 2026 2 min read sftp-step.md
Create a reusable action to manage files and directories on an SFTP server and to move files from one SFTP server to another.
Note:
- This step requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview. For more information about the ServiceNow® Integration Hub subscription packages, see Integration Hub usage and subscription. After the required plugin is activated, the step is visible under Integrations.
- The SFTP step runs only on a ServiceNow® MID Server with SSH capabilities. Activate the plugin, Integration Hub in Workflow Data Fabric Professional (com.glide.hub.integrations.professional) to use the JDBC capability for the MID Server. For more information, see Request an Integration Hub plugin.
- The SFTP step requires a credential record that supports either SSH private key credentials or SSH credentials. This step does not support Windows credentials where the Use MID Server service account option is selected.
Roles and availability
The SFTP step is available as an Workflow Studio action step. Users with the action_designer role can create a custom action with one or more action steps.
Prerequisite
Activate the Managed File Transfer Extensions for the SFTP Step (com.glide.hub.action_step.sftp_mft) plugin.
SFTP commands
- Copy File
- Copy Directory
- Create Directory
- Get File List
- Remove File
- Remove Files
- Delete Directory
- Rename File or Directory
- Set File Attributes
- Copy Attachments To SFTP Server
- Copy Files To This Instance
Note: The SFTP commands can be performed on a maximum of 10,000 files at a time.
- Copy File
Copies a file from the source SFTP server to target SFTP server. - Copy Directory
Copies a directory from the source SFTP server to the target SFTP server. - Create Directory
Creates a new directory on an SFTP server. - Get File List
Returns a list of files from a given directory and its subfolders on an SFTP server. - Remove File
Removes a file on an SFTP server, including subfolders, when configured. - Remove Files
Remove files on an SFTP server, including subfolders, when configured. - Delete Directory
Deletes directory on an SFTP server, including subfolders, when configured. - Rename File or Directory
Renames a file or directory on an SFTP server. - Set File Attributes
Sets common file attributes, such as timestamps, size, permissions, and UID/GID, for a file or directory on an SFTP server. - Copy Attachments To SFTP Server
Copies the specified attachments from ServiceNow instance to an SFTP server. - Copy Files To This Instance
Attaches the specified files in the SFTP server to the specified record in ServiceNow instance.
Parent Topic:Workflow Studio steps
74 lines · 6.7 KB
--- title: SFTP step description: Create a reusable action to manage files and directories on an SFTP server and to move files from one SFTP server to another. locale: en-US canonical_url: https://www.servicenow.com/docs/r/build-workflows/workflow-studio/sftp-step.html release: brazil product: Workflow Studio classification: workflow-studio topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 2 breadcrumb: [Steps, Flows, subflows, and actions reference, Flows, subflows, and actions, Workflow Studio, Build workflows] --- # SFTP step Create a reusable action to manage files and directories on an SFTP server and to move files from one SFTP server to another. **Note:** - This step requires an Integration Hub subscription. For more information, see [Legal schedules - IntegrationHub overview](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf). For more information about the ServiceNow® Integration Hub subscription packages, see [Integration Hub usage and subscription](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/subscription-usage.md). After the required plugin is activated, the step is visible under Integrations. - The SFTP step runs only on a ServiceNow® MID Server with SSH capabilities. Activate the plugin, Integration Hub in Workflow Data Fabric Professional \(com.glide.hub.integrations.professional\) to use the JDBC capability for the MID Server. For more information, see [Request an Integration Hub plugin](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/request-integrationhub.md). - The SFTP step requires a credential record that supports either SSH private key credentials or SSH credentials. This step does not support Windows credentials where the **Use MID Server service account** option is selected. ## Roles and availability The SFTP step is available as an Workflow Studio action step. Users with the action\_designer role can create a custom action with one or more action steps. ## Prerequisite Activate the Managed File Transfer Extensions for the SFTP Step \(com.glide.hub.action\_step.sftp\_mft\) plugin. ## SFTP commands - [Copy File](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/copy-file-sftp-step.md) - [Copy Directory](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/copy-dir-sftp-step.md) - [Create Directory](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/create-dir-sftp.md) - [Get File List](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/get-file-list-sftp.md) - [Remove File](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/remove-file-sftp.md) - [Remove Files](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/remove-files-sftp.md) - [Delete Directory](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/delete-dir-sftp.md) - [Rename File or Directory](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/rename-file-dir-sftp.md) - [Set File Attributes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/set-file-attributes-sftp.md) - [Copy Attachments To SFTP Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/copy-files-sftp-server.md) - [Copy Files To This Instance](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/copy-files-instace.md) **Note:** The SFTP commands can be performed on a maximum of 10,000 files at a time. - **[Copy File](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/copy-file-sftp-step.md)** Copies a file from the source SFTP server to target SFTP server. - **[Copy Directory](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/copy-dir-sftp-step.md)** Copies a directory from the source SFTP server to the target SFTP server. - **[Create Directory](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/create-dir-sftp.md)** Creates a new directory on an SFTP server. - **[Get File List](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/get-file-list-sftp.md)** Returns a list of files from a given directory and its subfolders on an SFTP server. - **[Remove File](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/remove-file-sftp.md)** Removes a file on an SFTP server, including subfolders, when configured. - **[Remove Files](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/remove-files-sftp.md)** Remove files on an SFTP server, including subfolders, when configured. - **[Delete Directory](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/delete-dir-sftp.md)** Deletes directory on an SFTP server, including subfolders, when configured. - **[Rename File or Directory](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/rename-file-dir-sftp.md)** Renames a file or directory on an SFTP server. - **[Set File Attributes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/set-file-attributes-sftp.md)** Sets common file attributes, such as timestamps, size, permissions, and UID/GID, for a file or directory on an SFTP server. - **[Copy Attachments To SFTP Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/copy-files-sftp-server.md)** Copies the specified attachments from ServiceNow instance to an SFTP server. - **[Copy Files To This Instance](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/copy-files-instace.md)** Attaches the specified files in the SFTP server to the specified record in ServiceNow instance. **Parent Topic:**[Workflow Studio steps](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/steps.md)
| title | SFTP step |
| description | Create a reusable action to manage files and directories on an SFTP server and to move files from one SFTP server to another. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/build-workflows/workflow-studio/sftp-step.html |
| release | brazil |
| product | Workflow Studio |
| classification | workflow-studio |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | StepsFlowssubflowsand actions referenceFlowssubflowsand actionsWorkflow StudioBuild workflows |