About communication using the SCP protocol

Ohki_Yamamoto
Tera Guru

Is it possible to communicate with ServiceNow using the SCP protocol?

We have confirmed that it is possible to connect using SFTP at the following
https://docs.servicenow.com/ja-JP/bundle/paris-servicenow-platform/page/administer/flow-designer/reference/sftp-step.html

1 ACCEPTED SOLUTION

Hi

ServiceNow is as standard web application running in an application container behind a web server and interacts with consumers over the HTTP protocol. 

But SCP commands are executed on the OS level and therefore cannot be triggered by a web application. 

But the MID server acts on the OS level and can be triggered by ServiceNow to perform SCP commands. There are different approaches for that. For example sending PowerShell commands to the MID server or using the SSH step available via Integration Hub (see https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/administer/flow-designer/reference...)

Maik

View solution in original post

6 REPLIES 6

Thank you for your response.

I understand that it is possible to execute SCP commands via the MID server.

I understand that the processing order is as follows.

(1) Make a connection with "SerivceNow -> (SSH connection) -> MID server"
(2) Execute SCP command from SerivceNow to MID server
(3) Execute SCP command to transfer files to the external system

 

What do you mean by external system here any example , how SCP works?