Hi pludi,
do you mean that if I use sleep I block my ftp command? According to avoid to wait forever if the remote host doesn’t work, I want to implement a sort of timeout, after this, if the ftp is blocked, I’ll kill it. If I use sleep, is ftp command in background stopped??? If it’s true, I’m a quite worried… I try to ping first the host (in the real case this code is in a loop for a list of hosts) but so many firewall bock ping and if ping has a positive result, this doesn’t unsure that ftp runs.
... I'm spending a lot of time about this problem.. and I'm getting crazier than I'm just!
