usually the problem is with the script timing out, not the size of the file. There is a limit to the size of the file but it is quite big (possibly >gb). From experience the usual problem is the upload taking longer than the server script time out setting; so the process terminates because of script time out.
Try increasing the timeout on the script.