A method returned with false after some days of running (Arduino mega, enc28j60)

arduarn:
In general it is better to post all your code rather than just guess where you think the problem might be. However, in all likelihood, the problem is that you are using the String class which may cause memory fragmentation and eventual allocation failure. Rewrite your code to use simple C style strings and see if that improves things.

Thank you, that's solved my problem.