SFTP file to other server

asifnoor
Kilo Patron

Hi,

We have a requirement where we need to generate a CSV file and upload that file into other server. This is external server for which we might get SFTP access.

I have already generated the file and now i need to push it to the other server.  Does anyone did such type of integration? If yes, would be great if you can share some ideas.

 

5 REPLIES 5

Hi,

Nice; so regarding sending the file from Midserver to ServiceNow; below approach you can take

a) get the base64encoded data for that file in mid server script include; send it back to servicenow

b) write business rule on ecc_queue table to grab this

c) use Attachment Creator to create attachment on the target record you want

OR

a) Consume the Attachment API from mid server script include; this would require java code to consume http endpoints etc

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader