Changes for page 05 Lua Script

Last modified by Hunter on 2026/10/14 19:50

From version 22.1
edited by Hunter
on 2026/10/14 16:15
Change comment: There is no comment for this version
To version 23.1
edited by Hunter
on 2026/10/14 18:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -791,3 +791,15 @@
791 791  {{/code}}
792 792  
793 793  [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/PrinterTCPSocket.zip]]
794 +
795 += 35 SFTP Client(PI 11.4) =
796 +
797 +This example shows how to set up the SSH connection between HMI and server, and upload or download the file. **This function only works on PIStudio version 11.4 or above and PI8000ig or PI9000ig HMI.**
798 +
799 +{{info}}
800 +Refer to the Microsoft official guide for installing and enabling OpenSSH Server on Windows using PowerShell: [[Get started with OpenSSH Server for Windows ~| Microsoft Learn>>https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui&pivots=windows-server-2025]]
801 +
802 +**Make sure TCP port 22 is not occupied by another SSH server, such as Bitvise SSH Server.**
803 +{{/info}}
804 +
805 +~1.