c# ftp client retry delay
i was able to create a basic ftp client that is working, but i want to m开发者_运维技巧ake it more robust. one of the features i want to add is retry delay (The time between each retry). unfortunately i couldn't find a lot of materials online. can someone help me? thanks.
How about using System.Threading.Thread.Sleep()
?
Thread.Sleep
MethodBlocks the current thread for the specified number of milliseconds.
精彩评论