how to limit the number of retry in a script ?
i wrote a script to upload files each night to a unix server using sftp protocol. if the connexion fails during a transfer, winscp automatically retries to transfer the file ... but all the night !! how is it possible to limit the number of retries to 5 in a script ?
thanks !
thanks !