Is it possible share report to shared folder through sftp?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 10:22 PM
Hi All,
Is there any possible share report to shared folder access through SFTP?
Please let me know if there is any possible, It could be helpful.
Thanks in advance.
Best Regards,
Nagendra

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 10:37 PM
Hello @Nagendra Rao Si
You could you Export set to save data from ServiceNow to any shared folder on your network through MID server.
Thank you,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 11:58 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2023 12:05 AM
Hello @Nagendra Rao Si
We can read data through FTP/SFTP in data source. But not sure if we can send the data.
I would have used export set if the data should be auto-stored in any shared folder. It is OOTB functionality.
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2023 02:08 AM
HI @Nagendra Rao Si ,
I trust you are doing great.
Here's a step-by-step guide to implementing the solution:
Set up an SFTP server: First, you need to have an SFTP server in place. This server will act as the destination for the shared reports. You can set up an SFTP server using various available options like OpenSSH, FileZilla Server, or similar tools. Follow the documentation or instructions specific to the chosen SFTP server to install and configure it.
Create a ServiceNow scheduled job: In ServiceNow, we'll create a scheduled job that runs at specific intervals to generate the reports and upload them to the SFTP server. You can define the schedule based on your requirements. For this example, let's assume a daily schedule.
Generate the report: Write a script or use ServiceNow's reporting capabilities to generate the desired report in a format compatible with the SFTP server. This could involve querying the ServiceNow database or using ServiceNow reporting modules. Ensure that the report is generated in a suitable format (e.g., CSV, PDF) that can be easily uploaded to the SFTP server.
Implement the SFTP upload: Write a script in ServiceNow to establish an SFTP connection to the server and upload the generated report file. You can use a third-party library like jsch to handle the SFTP functionality.
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi