how to limit the number of retry in a script ?

Advertisement

francois
Joined:
Posts:
1
Location:
paris

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 !

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum