I have a handler that treis to download a file from a FTP server and I want to add the ability for said handler to try the download 3 times.
So I thought I would just log each failure into a local variable and if that number was <= 3 go to the top of the handler.
But no luck, the go top does not seem to work
Code: Select all
if tUpdatedFile = empty then
add 1 to lRetries
if lRetries <= 3 then
go to top
answer lRetries
end if
end if