# Can the reporting module send files via SFTP?

**URL:** <https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 8, 2022, 2:06pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492 "2022-06-08T14:06:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cory.grube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cory.grube/32/20476_2.png) [@Cory.grube](https://forum.inductiveautomation.com/u/Cory.grube)\
**Post date:** [June 8, 2022, 2:06pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/1 "2022-06-08T14:06:45Z")

</div>

[8.1.17]

This may be a dumb question - I’m very green on the topic of FTP. A customer is requesting a report be transmitted via a secure FTP, and referenced SFTP and FTPS.

Based on the SSL checkbox, I believe it supports FTPS. What about SFTP?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 8, 2022, 2:10pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/2 "2022-06-08T14:10:31Z")

</div>

SFTP is a layer in SSH. So, not FTPS.

---

<div class="post-metadata">

**Author:** ![Cory.grube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cory.grube/32/20476_2.png) [@Cory.grube](https://forum.inductiveautomation.com/u/Cory.grube)\
**Post date:** [June 8, 2022, 2:15pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/3 "2022-06-08T14:15:07Z")

</div>

Got it, wasn’t sure how interchangeable it all was. Sounds like not at all. Thanks!

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [June 8, 2022, 2:16pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/4 "2022-06-08T14:16:03Z")

</div>

It’s using FTPES. The library we use doesn’t have an option for SFTP.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [June 8, 2022, 2:17pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/5 "2022-06-08T14:17:10Z")

</div>

I have to send files via sftp for a system and use winscp ([WinSCP :: Official Site :: Free SFTP and FTP client for Windows](https://winscp.net/eng/index.php)) called via a batch file that is run by Ignition using system.util.execute. There may be other ways to do this as well.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 8, 2022, 2:17pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/6 "2022-06-08T14:17:17Z")

</div>

You could always call out to your platform’s `scp` executable to transfer the file.

---

<div class="post-metadata">

**Author:** ![Cory.grube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cory.grube/32/20476_2.png) [@Cory.grube](https://forum.inductiveautomation.com/u/Cory.grube)\
**Post date:** [June 8, 2022, 2:18pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/7 "2022-06-08T14:18:57Z")

</div>

Great suggestions, thank you everyone!

---

<div class="post-metadata">

**Author:** ![John\_S1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@John\_S1](https://forum.inductiveautomation.com/u/John_S1)\
**Post date:** [March 1, 2024, 8:21am UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/8 "2024-03-01T08:21:20Z")

</div>

Hi @pturmel , Any examples do you have for this?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 1, 2024, 12:30pm UTC](https://forum.inductiveautomation.com/t/can-the-reporting-module-send-files-via-sftp/60492/9 "2024-03-01T12:30:28Z")

</div>

No, I don't actually do this anywhere from Ignition.

Generally, I advise clients to flip the direction--have the scheduled report save to a designated folder in the gateway, and make that **accessible** to SFTP. If your gateway is running in Linux (and it should be), this is trivial.
