I'm trying to force a retry with a 30 minute delay when an FTP Upload fails due to connectivity issues. Here's a snippet of my code. Is this how the retry is to be used in conjuction with the BatchTransferProblemDetected event?
Sub RetryUpload(ByVal sender As Object, ByVal e As FtpBatchTransferProblemDetectedEventArgs)
'Wait 30 minutes and try again
'Do this for the next 4 hours before failing
Retries += 1
If Retries < 9 Then
e.Action = FtpBatchTransferAction.Retry
e.Action = FtpBatchTransferAction.ThrowException