Can the reporting module send files via SFTP?

[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?

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

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

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

1 Like

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

3 Likes

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

1 Like

Great suggestions, thank you everyone!

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

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.

1 Like