Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to retrieve the file from network path without server existence in servicenow?

Suman7
Tera Contributor

Hi All,

 

I have to retrieve file from on prem network. I have tried data source retrieval method FTP, SFTP,HTTP & SCP not these didn't worked.

 

Info given from client.

Path give: http://MyMainServer.com/filepath/subfilepath

File name: filename.csv

Service Account: username

Password: password

I would have the following settings on the data source
Type: File
Format: CSV
File Retrieval Method: HTTP
File Path: /filepath/subfilepath/filename.csv
Server: MyMainServer.com

port: 80

Service Account: username

Password: password

 

Could you please help me to retrieve the path or do we have anything else to retrieve the path in ServiceNow?

 

1 REPLY 1

Appli
Mega Sage

Hi, please ask the client to confirm that it is possible to connect to the server over Internet using, for example, SFTP; if so use this SFTP file retrieval method in the Data Source. HTTP is not secure, try to NOT use it.

Hope it helps