I want to do an ftp session to a remote machine, getting a number of files, move on to the next machine... The code for doing this will be the same for every machine, so naturally I will put this inside a loop because the only thing changed is the ftp script I call.
If anything goes wrong I want to restart this ftp session and try again. But I don