I have a device that only supports SFTP. Do we have a script available to connect to the device using SFTP? I tried using a standard FTP script, but it didn’t work.
Nothing easy or ready to use. If you search "SFTP" you'll find a few threads about this.
I don't think anybody has built a reusable solution.
It's not really an Ignition question, since support is readily available in competent operating systems, and also available with a bit more trouble in Windows.
Start by installing SSHFS. This lets you mount an SFTP target device to a local mount point.
Then, if this is more-or-less permanent, make an entry in /etc/fstab
so it is established at boot time.
If you wish the connection to spin up on demand, and perhaps be a bit more resilient, configure it to automount
instead of boot-mount. (I haven't played with the automounter lately, but it is well documented.)
With it mounted, Ignition accesses it just like a local folder.
Despite still being a slave to windows I do enjoy the subtle and not so subtle, yet thoroughly deserved, windows criticism.