looks doable, but considering you asked that kind of question you'll have long and fun time making it (unless you pay someone to do it ofc)
I personally would do something like this (have in mind that i'm still a newb, and i'm talking about bash programming here):
1) have a list of URLs
2) get the filehost web page of the file with curl, grep some keywords like "this file has been removed" or similar
3) if there's a match, reupload (can also be done with curl)
4) replace the download link, I guess directly in the mysql, but dunno how things work there with wordpress