I'm working on PS script to automate FTP task. FTP session starts every 5 min.
Few times a day I got "Timeout detected. (control connection)" message in log when trying to connect FTP server.
Is it possible to retry connection in case of such connection problem?