Gateway scripts stop running FTP

I have a series of scripts in the gateway that at som point stop. As pointed in Gateway Timer scripts mysteriously stopped it is very likely it is due to a ftp socket that doesnt respond and so the system is stuck (most of these scripts are to connecto to ftp ). Is there any way or a workaround to specify the timeout time in ignition? The ftp lib included in this version of jython apparently doesnt include option yet.

Thanks in advance !

Consider using native Java’s java.net.URL and java.net.URLConnection instead of the python lib.

1 Like

Thanks for the answer pturmel, thats the kind of tools i was looking for !