How to Re-Download if www class encounters an error

Hi, I have assets from server that i want to download in unity (using Coroutine). So far I was able to download all pictures and was able to texture it unto a material, However when I have a video, the WWW class would encounter a download error like “transfer closed with N bytes remaining to read” (Note: sometimes it successfully download and sometimes not). So, I have an idea to re-download the asset if an error occurs but I have no luck so far. Any Ideas and suggestions guys?

Hiya almonte mej, try with this: Unity - Scripting API: WWW.error