Transfer CSV file from Mid Server path location to SFTP file path location

Blitz
Tera Expert

Hi, does anyone knows how to implement this in detailed? I've utilized scheduled exports set to export data in a csv format and sent to mid server "export" file location, but I want it to be auto transferred to a sftp file path location? Does anyone know how to implement this?

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Blitz 

for that you will have to write mid server script include which involves java package calls and then upload to sftp OR you can also use powershell script

Why not ask the customer network team to write this script and upload to their sftp location?

With this approach your task is only to push the file to mid server and rest will be handled by n/w team

If you write any custom script then if it breaks going forward ServiceNow won't help as it's custom solution.

check these links

Push .csv file from mid server to an SFTP location 

SFTP file transfer issue from MID Server 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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