SFTP Step: Copy Attachment to SFTP Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 04:07 AM
How to use this action step and send an attachment to MID Server. Can any one provide me step-by-step details.
I did tried to implement but got error : Cannot connect, status is TCP_CONNECTION_DROPPED. Connection unexpectedly closed by SSH server

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 09:39 PM
Hi @Shekhar Duba1 ,
1)Do you have the credentials to SFTP server?? if yes configure the step as below
A)Connection : Define Connection Inline
B)Credential Alias: Create a Connection and Credential Alias entry , use type credential
C)Host: IP of the SFTP server
D)Port : 22
E)MID selection : Auto select
MID appkication : All
Capibilities: SSH
Attachments : You can glide sys_attachment table to find your attachment and send
Copy to SFTP target : Provide the folder to copy
Make sure credentials/account your using has access to write to folder that you copy.
Hope this helps.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 09:34 AM
Hi, Is there a feasibility to copy attachment from SN to SFTP server without using midserver?