Thank you. That's what I thought.
You could pipe the lists through several "where {$_}" to filter out the FTP tasks, but you might want to just use the GUI if possible. I've tried to set up scripts to do the same thing, but it's easier sometimes to use the Object finder tool and then just manually swap them out:
In the GUI:
Tools >> Object Relations >> Object Type: Connection >> Object Name: <your connection here> >> Dcl click the object >> swap out the connection
Of course, if it's like more than 50 or so connections, the scripts about it.