SFTP step in flow action - copy file to instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2022 04:36 AM
Hello,
I'm trying to implement a flow action which contains a SFTP step. I want to get a file from a SFTP server and copy it to my servicenow instance (create an attachment for a CI record).
What's working: Creating new files on the SFTP server via a flow action.
What's not working: I can't delete or copy files from the SFTP via the flow action.
What I tested: SFTP connection from the MID server is working fine via powershell and I can do all operations (create, get, delete files).
I can't find an example how to get a file from the SFTP in the documentation: https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/flow-designer/reference/copy-files-instace.html
But there are so less parameters I basically tested all possibilties in the sftp step:
I'm getting timeouts when I try to copy the file:
Out of curiosity getting all file names is working:
I'm running out of idea what's going wrong. Maybe someone can point me in the right direction or give an exmple how to configure correctly the SFTP step.
Thanks in advance!
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2024 07:08 AM
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.
I hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2025 03:14 AM
Hi All,
Please find the KB article below regarding this issue
Hope it helps !!